Hi Barrie,
I don't think you're missing anything - I think VEE does
everything relative to the main panel. However what you can do is work out
where a panel is with panelPosition ( you could also lock it first if you
want ) and then place your changeable panel using the offset returned - the
Battleship game uses this very effectively ( even if it is a little large
). Alternatively ( quoting another game - Wheel ) you can change things
pretty swiftly using a picture object. If you're very adventurous you may
even be able to create bitmaps on-the-fly using ActiveX......!
Regards,
Mike Watts
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
I don't think you're missing anything - I think VEE does
everything relative to the main panel. However what you can do is work out
where a panel is with panelPosition ( you could also lock it first if you
want ) and then place your changeable panel using the offset returned - the
Battleship game uses this very effectively ( even if it is a little large
). Alternatively ( quoting another game - Wheel ) you can change things
pretty swiftly using a picture object. If you're very adventurous you may
even be able to create bitmaps on-the-fly using ActiveX......!
Regards,
Mike Watts
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
I should know this but I'm not getting the results I expect (and want).
I have User Function #2 called by User Function #1 called by the Main
object. All three have user display panels which are shown using
ShowPanel(name,x,y). I want the panel associated with User Function #2
to be located within the panel associated with User Function #1, not the
Main panel. This means that the x,y used in the ShowPanel() would be
relative to Panel #1 instead of the Main Panel. This doesn't seem to be
how it works - am I missing something?
What I'm really trying to do change the appearance of a small piece of
Panel #1 "on the fly" by showing panels associated with other functions
in the "changeable" location. As an example, this allows changing the
font associated with a Label object. This works well if its the Main
Panel that I want to change but not if its a sub-panel. Any ideas?
Barrie
whoi
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------