[Gambas-user] More on properties ...
Gareth Bult
gareth at ...1689...
Sun Apr 29 20:14:52 CEST 2007
Hi,
I'm stuck again .. I have a Component based on UserContainer which
contains a GridView and a Panel.
Generally it works fine ..
However, when in the IDE I would like to render the component in much
the same way as the Gridview renders, i.e. potentially showing the
headers etc ..
If I add;
PUBLIC CONST _DrawWith AS String = "GridView"
It actually renders part of my custom component .. (it actually draws a
GridView component, albeit not the one I was after ...)
How do I make it call my own draw routine and what needs to go in the
routine ?
I'm guessing it's along the lines of;
PUBLIC CONST _DrawWith AS String = "GridEditor"
PUBLIC SUB GridEditor_Refresh()
do stuff ...
END
But I can't seem to get a working combination .. any chance can you
point me in the right direction ?
thanks,
Gareth.
--
Gareth Bult, Encryptec Limited
Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657
Email: gareth at ...1689..., MSN:garethbult at ...67...
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.
More information about the User
mailing list