Subject Re: [IBO] IB_LookupEnh question - drawing images on buttons
Author Geoff Worboys
> Exactly what I tried to do was to use DrawQuery procedure
> from Telesis_utils. I think that "standard" images provided
> by Geoff's procedures are enough for me for now, but I'd
> like to use them outside the component i.e in
> BeforeDropDown even. Is it possible to pass all
> neccessary parameters to these procedures oustide
> the component?

It sounds like to you want to take control over when the button is
drawn, presumably so you can change the image at various stages.
Perhaps you need to explain in more detail what you want to achieve.

If you are just looking to use the draw procedures for other purposes
(drawing your own buttons on panels etc) then I can provide more
detail for you about how this is done - I can even send you my
SpeedButton and BitBtn controls that uses these procedures.


> A little off topic (regarding drawing)
>
> Geoff, could you provide more info about masks, maskenh,
> maskenhlist, prefixes and related stuff.
> I tried to understand what's going on but I got lost. Maybe
> my English is not good enough :-).

Have you read the details in the online help - search the help index
for TMaskEnhString for details about masks.

Also; If you drop TEditEnh onto a form (the non-IBO-aware version)
then you can click on the EditMask property editor button to get a
dialog with example masks and the ability to define your own and test
them.

If you still have problems let me know and I will try to explain in
further detail.


HTH

Geoff Worboys
Telesis Computing