Button Tooltip Example
-------------------------
Requirements
--------------------------
PB 9.03 ( convertable to PB 8 / PB 7 /PB 6.5  using Export/Import
Most Datawindows are Release 6, so no source edit is necessary

The Example has been tested to convert to  PB11 without any problem 	

------------------------------------
Purpose
------------------------------------
- show Tooltips for Command and PictureButtons
- show Microhelp for every Control
- show Tooltip for Datawindow Buttons
- show Microhelp for Datawindow Objects
-------------------------------------------
New in this version
-------------------------------------------
tooltips with more than one row   delimiter   is #  use  textlin1#textline2 in objecttag
tooltips for buttons in datawindows with more than one row
----------------------------------------------
General
-------------------------------------------
Most of the objetcts are necessary, because they are
referenced by basic classes that I use.

The main window in focus is w_buttonstooltip

If you just want Tooltips for Buttons then
place the controls u_commandbutton or u_picturebutton on a window

If you want Tooltips for Datawindow Buttons  use u_datawindow instead of datawindow
this is more komplex, because u_dtawindow refernces a lot of classes

- Microhelp (using Tag) for all controls, telling them there Microhelpparent using
   n_fbusiness.of_controlstrigger(windowforcontrolcollect,w_MicrohelpParent,"ue_sethelpparent"
   then capture mousemove of the control and trigger w_MicrohelpParent
therefore you eed every control one time inherited like u_multilineedit and a window
getting the microhelp trigger.

If you want a button to display differnt tooltip and microhelp text, i use
a | (pipe) as the delimiter between the two textparts within the object.tag

Importatnt events  control.mousemove, control.ue_sethelpparent, window.ue_microhelp


--------------------------------------------------------------------------
There is a very good third party tool for browsing and analysing existing
PB Applications.
It is called PBBrowse and available at http://www.oowidgets.com/
Costs for a license is more than accetable (49.00 $)
I'm using this for years and it helps me a lot.  
-----------------------------------------------------------------------
Regards
Martin Bremer
E-Mail: m-bremer@wellcom.de (prefered)
or   martinbremer@compuserve.com  
 //EOF
 
