ComboBoxes (OpenInsight Specific)
At 25 MAY 1998 11:32:32AM Hank Huizinga wrote:
I'd like to have a control with all the same properties of a combobox but with a different bitmap. Does anybody have any ideas?
Hank Huizinga
Megamation Systems Inc.
At 25 MAY 1998 12:46PM Don Bakke wrote:
Hank,
I'd like to have a control with all the same properties of a combobox but with a different bitmap.[/b][/i] I'm not sure what you are asking here. Could you clarify? dbakke@srpcs.com SRP Computer Solutions
</QUOTE> —- === At 25 MAY 1998 04:13PM Hank Huizinga wrote: === <QUOTE>In our system there are two types of searches, btree and popup. We would like a visual indicator to the user which search they are about to execute. For a popup, we will use the standard dropdown box. For a Btree search, we wish to have a dropdown box with a binocular instead of the down arrow. Is this possible? </QUOTE> —- === At 25 MAY 1998 04:42PM Hank Huizinga wrote: === <QUOTE>I think I've solved my own problem. Use an editline with a bitmap next to it. Capture the left mouse click on the bitmap using the WINMSG window event and use the send_event command to execute the appropriate options events. Anybody have a better solution? </QUOTE> —- === At 25 MAY 1998 04:43PM Don Bakke wrote: === <QUOTE>For a Btree search, we wish to have a dropdown box with a binocular instead of the down arrow. You would have to fabricate your own by combining various controls. For instance, create an editline and a pushbutton the size you need it to be to hold your binocular image. Place these two close enough so they resemble a combobox. Then you will need to dynamically create an editbox with the search information in it when the button is clicked that will display below the editline to simulate the drop-down effect. An alternative to creating the editbox would be to already have it in place but invisible. dbakke@srpcs.com SRP Computer Solutions
</QUOTE> —- === At 28 MAY 1998 08:20AM Cameron Revelation wrote: === <QUOTE>Hank, Use an editline with a bitmap next to it. Capture the left mouse click on the bitmap using the WINMSG window event and use the send_event command to execute the appropriate options events. Instead of a bitmap control, just use a button. Put your code on CLICK (instead of messing with WINMSG) and set the bitmap for the button as desired. It is easier this way unless you have a problem with the focus leaving the edit control. You can simulate a combo box (as Don suggested) by placing a list box below the edit line. (In Windows, the combo box is made up of several controls … it does the same thing but at a lower level.) Cameron Purdy info@revelation.com </QUOTE> View this thread on the forum...