,

Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

Bitmap Property (OpenInsight 32-Bit)

At 24 JAN 2008 03:53:53PM Rod B Morris wrote:

When saving a form and exiting the Form Designer the bitmap for a listbox control is not saved. I have no idea why, I am hopeful one of you gurus can explain it to me. As an attempted work-around I have placed the following code in the Create event for the window. It is an MDI Frame and the control is a hierarchal list box.

*

* Set bitmap

Declare Function Get_Property, Set_Property

Bmap=Get_Property(@Window:".MENU_BAR","BITMAP")

If Bmap=" Then

Bmap=.\BMPS\IND4.BMP"
UnUsed=Set_Property(@Window:".MENU_BAR","BITMAP",Bmap)
UnUsed=Set_Property(@Window:".MENU_BAR","IMAGECOUNT",4)

End

=====================================================

This does not seem to work and I can't see why or what other properties need to be set. The result is the list displays with no bitmap image and when dbl-clicking on an expandable item in the list it expands but is not indented.

Thanks,

Rod

View this thread on the Works forum...