Re: IDE PushButton Placement
- Posted by Greg Haberek <g.haberek at comcast.net> Feb 06, 2003
- 399 views
Ok, you need at least 3 things to put a button into a ReBar: 1. ReBar 2. ReBarBand 3. ToolBar or FlatToolBar After that you can drop in a PushButton or whatever, the reason the Button expands in the ReBar is because that is the nature of the beast and it thinks you're going to drop more controls into the button. I believe the reason your button always comes out square is due to Windows and not Win32Lib, but I could be wrong. IMHO ReBars and FlatToolBars need some more improvement before they can be used through Win32Lib and the IDE. Personally, I've been designing my own ToolBar2 control, it's really simple but it gets the job done, and it's alot more flexible. Search for Axiom Editor in the Archive if you want to see it, and if people like it, I may release it as a separate control. (Derek says he's working on custom controls for Win32Lib, so I've been waiting for that to totally perfect any of my custom controls.) HTH ~Greg g.haberek at comcast.net ----- Original Message ----- From: C. K. Lester <cklester at yahoo.com> To: EUforum <EUforum at topica.com> Sent: Wednesday, February 05, 2003 4:48 PM Subject: IDE PushButton Placement If I put a button on a Flat Toolbar, it doesn't matter what shape I make it, the running dialog always shows a square button. If this is set-in-concrete behavior, then at least have the IDE show the un-resizeable size of the button. What exactly are ReBars? Are those just moveable button bars? If I put a button on a ReBar, the button expands right to fill up the bar instead of maintaining the shape I set it in the IDE. Is that expected behavior? I put a flat toolbar down, then wondered what would happen if I added a rebar item above it (giving me two button bars). Well, that screwed everything up such that I had to start over... I kept getting the "Msg 197" message, "ToolBar/FTB index not found." TOPICA - Start your own email discussion group. FREE!