Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clarion > Re: Newbee to C...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 7 Topic 9039 of 9117
Post > Topic >>

Re: Newbee to Clarion enterprise 6.3 (coming from the clipper world)

by sjahan22@[EMAIL PROTECTED] Feb 11, 2008 at 06:24 AM

Thank you Harry,
I created a browse template in the window and then populated it.
Below the browse window, I draged and dropped the fields from the
populate window.  I am ok so far.  When I run it, I can browse through
the file and which ever record is highlighted, I see it on the fields
below the browse window.  I do not like the inplace edit for Browse
window it might confuse users.  What I wanted to do is, let them
browse and select the record to edit and the contents is displayed on
the fields below the browse window and allow edit on those fields not
on the browse window.
So what I want to do is to put the controls mentioned on my first
email.

When I click populate -> Control templates - I get the Class ABC
Templates and under it, I can select  BrowseSelect BrowseSelect,
SaveChange etc buttons.  But it is not doing what I want it to do.
BrowseUpdate buttons brings Insert, Change, Delete.  But will only let
you do inplace editing.  Otherwise, I can select an action and then
write code.

I want to learn to write code directly for those control buttons  [for
example in clipper, I may write  'Replace [record-field-name] with
contents of screen  [ field name ]  ]

Thanks
Shaw




On Feb 10, 10:39 pm, Harry Bennett <har...@[EMAIL PROTECTED]
> wrote:
> Hi,
>
> With the form open in the IDE select Populate and then Control Template.
>
> Select the controls you want from the list and drop them on the form.
>
> Cancel / Exit are usually the same on the form and the easitiest way is
> to put a push button on the form and then set it tio have a standard ID
> of STD:Close.
>
> Harry
>
> sjaha...@[EMAIL PROTECTED]
 wrote
innews:0d99c66d-83a3-4b73-8cd8-4436575821ff@[EMAIL PROTECTED]
>
Hi Harry,
> > Thanks, I went through the wizard and created the app.  I have a good
> > general idea now, was looking for specifics.  All I am looking for
> > here is a sample code that I can put in for those control buttons to
> > get it to do the activities mentioned in my mail.
>
> > -Shaw
>
> > I did it through the
> > On Feb 10, 1:23 pm, Harry Bennett <har...@[EMAIL PROTECTED]
> wrote:
> >> Hi Shaw,
>
> >> Welcome to Clarion.
>
> >> It sounds if you are doing it the hard way !!
>
> >> Set up a dictionary and and then use the wizard to create the
> >> application from the dictionary. From there you can see the way
> >> Clarion does things and you can hand code it if you need too. You
> >> will need to decide if you are going to use the ABC template chain
> >> which is OPP or the legacy template chain which is standard
> >> procedural code.
>
> >> Also you should know there are two comp.lang.clarion groups. This one
> >> is public but there is Softvelocity one that is not replicated here.
>
> >> Try news.softvelocity.com and one of the groups there is also called
> >> comp.lang.clarion which is far more active than this group. There are
> >> alos more specialised groups for specific items of Clarion.
>
> >> Harry
>
> >> sjaha...@[EMAIL PROTECTED]
 wrote in news:9784079a-f8db-4548-a5d2-
> >> f1c50a133...@[EMAIL PROTECTED]
> Greetings:
> >> > I bought Clarion 6.3 enterprise three weeks back and had gone
> >> > through the Getting started and learning clarion.
>
> >> > I have created a browse form and  populated it (Vendor, Item,
> >> > Price). I also created (below the browse form) individual fields
> >> > Vendor, Item and Price.  So when I browse through the form, the
> >> > highlight row information is also displayed on the individual
> >> > fields below.
>
> >> > What I am trying to do now is put controls  ADD, CHANGE, DELETE,
> >> > CANCEL  and EXIT
>
> >> > How do I program the controls to do the following:
>
> >> > ADD = Clear the contents currently displayed on the individual
> >> > fields; allow user to type in information; make sure mandatory
> >> > fields (Vendor and Item) are filled; Check for duplicate
> >> > (vendor+item is the key), and insert the record, show message
> >> > Add-Successful
>
> >> > CHANGE = Just allow to change the price on the highlighted record
>
> >> > Delete = Delete currently highlighted record
>
> >> > Cancel = cancel the changes made on the current screen
>
> >> > Exit = Exit the form
>
> >> > Thanks for the help!
>
> >> > -Shaw
 




 7 Posts in Topic:
Newbee to Clarion enterprise 6.3 (coming from the clipper world)
sjahan22@[EMAIL PROTECTED  2008-02-10 07:43:15 
Re: Newbee to Clarion enterprise 6.3 (coming from the clipper wo
Harry Bennett <harryb@  2008-02-10 19:23:16 
Re: Newbee to Clarion enterprise 6.3 (coming from the clipper wo
sjahan22@[EMAIL PROTECTED  2008-02-10 14:48:09 
Re: Newbee to Clarion enterprise 6.3 (coming from the clipper wo
Harry Bennett <harryb@  2008-02-11 04:39:28 
Re: Newbee to Clarion enterprise 6.3 (coming from the clipper wo
sjahan22@[EMAIL PROTECTED  2008-02-11 06:24:54 
Re: Newbee to Clarion enterprise 6.3 (coming from the clipper wo
Paul S. Person <pspers  2008-02-11 10:32:51 
Re: Newbee to Clarion enterprise 6.3 (coming from the clipper wo
bnesheim <bnesheim@[EM  2008-02-19 01:27:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 1:18:21 CDT 2008.