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
sjahan22@[EMAIL PROTECTED]
wrote in
news: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
>
>


|