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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Toolbar separator problem

Status
Not open for further replies.

aharrisreid

Programmer
Nov 17, 2000
312
GB
Using VFP 8, I have a maintenance form toolbar class containing the usual add/edit/delete/print etc. buttons. I want to change the spacing between buttons by inserting some more separators and deleting others.

The problem is that when I save the modified class, and reopen it, the new separators have gone and deleted ones have returned! It's as if I never edited it in the first place! The same thing happens if I try and subclass the toolbar class and make changes to the subclass.

It would be good if separators were available in the Tab-Order dialog, but they are not.

Has anyone any idea what may be going on here? The class library in question is definitely not readonly.

Any help would be appreciated.

Alan
 
Alan

Doesn't answer your question, but a transparent borderless shape 22 high x 5 wide is a much easier control to work with as opposed to a separator.

You can drag out the width to enable you to drag 'n drop and then reduce to 5 or whatever suits in the property sheet.

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.com
PDFcommandertm.co.uk


 
Alan,

I wish I could answer your question. Those pesky separators have always given me trouble. Think yourself lucky you were able to place them in the toolbar in the first place <g>.

Chris's suggestion is definitely worth a try.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Chris, thanks for the reply.

>Doesn't answer your question, but a transparent >borderless shape 22 high x 5 wide is a much easier >control to work with as opposed to a separator.

>You can drag out the width to enable you to drag 'n drop >and then reduce to 5 or whatever suits in the property >sheet.

What an excellent suggestion! It works very well, and as you say, is much more flexible than the separator control.

Regards,
Alan
 
Mike, thanks for the reply.

>Those pesky separators have always given me trouble. >Think yourself lucky you were able to place them in the >toolbar in the first place <g>.

It wasn't easy, I can tell you. Now I have adopted Chris's suggestion, my problems are over (for the time-being, at least ;-)).

Regards,
Alan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top