[Gambas-user] Newbie needs help with controls

DHoll28158 at ...87... DHoll28158 at ...87...
Tue Aug 12 12:11:27 CEST 2003


In a message dated 8/12/2003 1:51:23 AM Pacific Daylight Time, 
gambas at ...2... writes:

> Le Mardi 12 Août 2003 05:16, DHoll28158 at ...87... a écrit :
> >In a message dated 8/11/2003 7:45:34 AM Pacific Daylight Time,
> >
> >sourceforge-raindog2 at ...94... writes:
> >>On Monday 11 August 2003 08:10, Benoit Minisini wrote:
> >>>>2. Can a control ie: button , panel or frame. be made transparent.
> >>>
> >>>No.
> >>
> >>Any plans to support this?  It seems to be the one glaring thing people
> >>notice
> >>when I show them converted vb forms (since vb labels etc. default to
> >>being transparent.)
> >>
> >>>>3. Is there a way to implement Hot Spots over an image.
> >>>
> >>>What is it ?
> >>
> >>I think he means like imagemaps on a website (e.g. the visual intro to
> >>gambas
> >>page.)  You could probably do it with the X and Y parameters to the
> >>MouseDown
> >>etc. events, but that's only good when the user presses a button... no
> >>visual
> >>feedback is possible when they mouse over things.
> >>
> >>Rob
> >
> >A hot Spot is certain areas on a form or image that triggers the mouse-over
> >event.
> >This could be used to bring up info messages or other controls. Usually the
> >cursor icon changes to indicate that a mouse click will trigger a function.
> >I have used transparent labels to do this. It is a powerful tool for making
> >an application easier to use.
> >
> >Dan
> 
> You can use the MouseMove event.
> 
> 

If I have an image that covers the entire display and I only want 5 very 
small rectangular areas, located at various places on the image to be Hot Spots. 
How would that be accomplished.

I guess I could hard code all the co-ords into an CASE statement, but a 
transparent lable would be a lot easier to make adjustments later.

Dan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20030812/24c9db5f/attachment.html>


More information about the User mailing list