its me again, Fred. (Ok, Geoff? <bg>)
I have a question about toolbars with self defined toolbar buttons. In my
application both the self defined toolbar buttons and the toolbar buttons
predefined in VO are first correctly indicated in the shells toolbar. If I
try to gray a self defined button with oToolBar:disableItem(), then not the
design of the button is grey represented but the whole button is in dark
grey represented. The contents of the buttons are quasi deleted. If I call
oToolBar:enableItem(), the button is normally represented again. The buttons
predefined in VO does not show this behavior. They are grayed as expected.
This behavior arises under VO 2.5 (latest version).
Does someone have a notion, what could be there?
Cheers Fred
add the constant BMP_3DTRANSPARENT in the init of your Toolbar.
METHOD Init() CLASS BMPTOOLBAR
super:init(ResourceID{"BMPTOOLBAR", _GetInst()}, BMP_3DTRANSPARENT)
Greetings from the Eifel
Peter
"Fred Killet" <kil...@killetsoft.de> schrieb im Newsbeitrag
news:bbnvrl$jah$1...@online.de...
You wrote:
> add the constant BMP_3DTRANSPARENT in the init of your Toolbar.
I made some experiments and I found that I must not add the 3DTRANSPARENT to
the ToolBars Init() but to the BitMaps Init().
Then it works well. Thank you!!
Fred
"Peter Grant" <Peter...@gtsoft.de> schrieb im Newsbeitrag
news:bbr4te$p0q$06$1...@news.t-online.com...