Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Design-Time Events

Status
Not open for further replies.

sstamm

Programmer
Jan 13, 2004
16
US
THE PROBLEM:
It is quite irritating to develop a control in VFP and not be able to rearrange its memberd at design time when the control changes size and/or shape.

QUESTION:
Is there any way that anyone knows of to create VFP events that will fire during design time?

Thanks!

Steve
 
Steve,
This is one area the MS hasn't opened up to us yet. Using Builders, I believe is about as close as you can get.

Rick
 
I've done something like this, but with formatting options (a toolbar like in word,excel). Its name is QuickFormat class in Universal Thread download section. It is based on a timer that detects selected object in designer and update the formatting toolbar. Also apply selections from format toolbar to selected objects. Saved me a lot of time.
 
Thanks Badukist. I got a copy of your QuickFormat and I'll look at it. It sounds very interesting.

We need to press Microsoft for Design-Time events so that we can make professional looking WUSIWUG visual controls in VFP for VFP.

Thanks again.

Steve
 
Another option is to create a builder for your control/class...

Look in the VFP helpfile's Index for "Builder applications, creating and specifying"

...that way the developer could right-click on the control and select "Builder..." and your builder app/prg could be invoked to give them the ability to interact with it...changes in the builder could then be propogated back to the control on the form. Not exactly what you are looking for, but it does give you another option.

boyd.gif

[sub]craig1442@mchsi.com[/sub][sup]
"Whom computers would destroy, they must first drive mad." - Anon​
[/sup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top