I normally create a toolbar using the command DEFINE BUTTONBAR oBar OF oWnd SIZE 30,33
Is it possible to have one button that is actually longer than that?
TIA
Can a toolbar button be of different size?
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Can a toolbar button be of different size?
Any button created by "DEFINE BUTTON OF oBar" will be of the same size only.
But after defining all buttons, we can create any control on the bar in the space not occupied by the buttons. Same way we can create a button of different width by
But after defining all buttons, we can create any control on the bar in the space not occupied by the buttons. Same way we can create a button of different width by
Code: Select all | Expand
@ r, c BTNBMP oBtn PROMPT "prompt" OF oBar SIZE w,h PIXEL
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Can a toolbar button be of different size?
For some reason, I nothing happens when I click on the button.
But was able triggering it programmatically using oBtn:click(). Strange
But was able triggering it programmatically using oBtn:click(). Strange
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
BCC5.82/BCC7.3
xHarbour/Harbour
Re: Can a toolbar button be of different size?
hua wrote:For some reason, I nothing happens when I click on the button.
But was able triggering it programmatically using oBtn:click(). Strange
Discoevered the reason. I can't place @ r, c BTNBMP oBtn PROMPT "prompt" OF oBar SIZE w,h PIXEL at oDlg:bInit
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
BCC5.82/BCC7.3
xHarbour/Harbour
Re: Can a toolbar button be of different size?
hua wrote:For some reason, I nothing happens when I click on the button.
But was able triggering it programmatically using oBtn:click(). Strange
Discovered the reason. I can't place @ r, c BTNBMP oBtn PROMPT "prompt" OF oBar SIZE w,h PIXEL at oDlg:bInit
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
BCC5.82/BCC7.3
xHarbour/Harbour