Other than creating a formset, is there a way to associate a toolbar
with a form visually? If there is no visual way, must I do it
programmatically?

I am using VFP 6.

--
.~. Might, Courage, Vision. In Linux We Trust.
/ v \ http://www.linux-sxs.org
/( _ )\ Linux 2.4.22-xfs
^ ^ 10:32am up 1 day 59 min load average: 1.05 0.99 0.99

RE: toolbar and form by anonymous

anonymous
Mon Mar 01 21:26:06 CST 2004

I don't think it's not all visual way

1. Create your toolbar and save it as a class
2. Create a custom property on your form to hold the name of the toolbar class name
3. On the Init event of your form, create an instance of the toolbar

Use _screen.ActiveForm.YourEvent on the click event of your toolbar.
This will call the event of the active form, if a toolbar is associated with it

Just a thought, hope this will help

Lha


----- toylet wrote: ----


Other than creating a formset, is there a way to associate a toolbar
with a form visually? If there is no visual way, must I do it
programmatically

I am using VFP 6

--
.~. Might, Courage, Vision. In Linux We Trust
/ v \ http://www.linux-sxs.or
/( _ )\ Linux 2.4.22-xf
^ ^ 10:32am up 1 day 59 min load average: 1.05 0.99 0.9


Re: toolbar and form by toylet

toylet
Tue Mar 02 02:30:33 CST 2004

Thank you. Not a bad idea.

> 1. Create your toolbar and save it as a class.
> 2. Create a custom property on your form to hold the name of the toolbar class name.
> 3. On the Init event of your form, create an instance of the toolbar.
> Use _screen.ActiveForm.YourEvent on the click event of your toolbar.

--
.~. Might, Courage, Vision. In Linux We Trust.
/ v \ http://www.linux-sxs.org
/( _ )\ Linux 2.4.22-xfs
^ ^ 4:28pm up 1 day 6:55 load average: 1.00 1.04 1.24