OPO V2.0 Toolbar Hints & Maximised issues

From: Bob Gill <bgill_at_wire.net.au>
Date: 1997/01/06
Message-ID: <32D08D33.4E37_at_wire.net.au>#1/1


Hi OPO developers,

[Quoted] Does anyone know of a way to display a hint when the cursor is on a toolbar button? The standard buttons that are available with the Default Toolbar all dislay a hint when the cursor is on a button, as well as a message on the Status Line if it is active within a form. However, when you add your own custom button to the toolbar, there is no method available to add the new hint and status line message. I would appreciate if someone has discovered a way of doing this and is willing to share the idea with the rest of us.

[Quoted] Secondly, when a window (Window B) is Maximised, it should be possible to place this window at a different Y-axis position after it has maximised. The example I'm quoting assumes that another window (Window A) should always exist just below the Menu Bar. However, on moving Window B to be below Window A on maximising, causes Window B still to be hidden and Window A displayed in a buggy fashion. Is this a bug or am I doing it wrongly or it is not possible?

Code in MoveWindow() method of Form is as follows:

Inherited.MoveWindow(x, y, wid, ht, context)

self.SizeX = wid
self.SizeY = ht

' If MAXIMISED then, place the form below the Window A.

IF x = 0 AND y = 0 THEN

    self.PositionY = 100
END IF Would appreciate a reply to me directly, and if the solution works, I'll post it to these newsgroups so that others are aware of it too.

Thanks in advance.

Bob Gill
email: bgill_at_wire.net.au Received on Mon Jan 06 1997 - 00:00:00 CET

Original text of this message