Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 8.0 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  2347 (8 on line) Last Update: Dec 5, 2003  
    TTipForm5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

With the TTipForm5 Object you can display a tip form when the mouse hovers some element of your Interface

Description   Inheritance   Example   Properties   Methods
 
 Inheritance

Inherits from:  TObject5

Description   Inheritance   Example   Properties   Methods
 
 Example
 
 

The above example was generated by the following APL+Win Objects™ code:


      aaa„1 2˝'Function' 'TObject5'
      aaa„aaa®'Nb. of lines'(•†˝Ścr'TObject5')
      aaa„aaa®'Size'((,'CI8'Śfmt˝Śvr'TObject5'),' bytes')
      'ff'Świ'*Create' 'TTipForm5'('content'aaa)('color'204 204 255)'Show'
      'ff'Świ'*Create' 'TTipForm5'('gridcontent'aaa)('gridcolor'0(204 204 255))'Show' 'SessionFocus'
      'ff'Świ'shadedepth'6
      'ff'Świ'shadeborder'1
      'ff'Świ'shadeborder'0
      'ff'Świ'shadecolor'255
      'ff'Świ'shadedepth'3
      'ff'Świ'shadecolor'0
      'ff'Świ'gridcolor'(0 102 0)(204 255 204)
      'ff'Świ'*Create' 'TTipForm5'('*noredraw'1)
      'ff'Świ'*Set'('imagefile'(('oo5'Świ'installdir'),'buttons.bmp'))('imagesize'16 16)('image'2)  © MUST be set before 
      'ff'Świ'gridcontent'(1 1˝,›'')
      'ff'Świ'*Set'('gridcolor'(255 255 255))('shadecolor'(64 64 64))
      'ff'Świ'ShowOffSet'2 8
      Śerase'aaa'
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
class    
Description:  Return current object class 
Syntax:  class„'obj' Świ 'class' 
color    
Description:  Get or Set the tip window background color 
Syntax:  {rgb„'} 'obj' Świ 'color' {rgb} 
rgb:  a 3-element RGB color vector 
Note:  works if you use the <content> property to fill the tip 
Example: 
      'ff' Świ 'color'204 204 255 
content    
Description:  Get or Set the tip window text content 
Syntax:  {array„'} 'obj' Świ 'content' {array} 
array:  a nested matrix containing text to be displayed in the tip 
Note:  use <color> to change the tip background color 
Uses a Listview object to display the data 
Example: 
      aaa„1 2˝'Function' 'TObject5' 
      aaa„aaa®'Nb. of lines' (•†˝Ścr'TObject5') 
      aaa„aaa®'Size' ((,'CI8' Śfmt˝Śvr'TObject5'),' bytes') 
      'ff' Świ 'content'aaa 
gridcolor    
Description:  Set the tip window background color (write-only) 
Syntax:  'obj' Świ 'gridcolor'decodedrgb 
decodedrgb:  a vector of 256 decoded RGB set of colors, one for each column 
Note:  works if you use the <gridcontent> property to fill the tip 
Example: 
      'ff' Świ 'gridcolor' (204 204 255) (255 255 204) 
gridcontent    
Description:  Set the tip window content (write-only) 
Syntax:  'obj' Świ 'gridcontent'nestedmatrix 
nestedmatrix:  a nested matrix of character vectors 
Note:  use <gridcolor> to change the grid colors for each column 
Example: 
      aaa„1 2˝'Function' 'TObject5' 
      aaa„aaa®'Nb. of lines' (•†˝Ścr'TObject5') 
      aaa„aaa®'Size' ((,'CI8' Śfmt˝Śvr'TObject5'),' bytes') 
      'ff' Świ 'gridcontent'aaa 
help    
Example: 
© Preliminary note: 
© This object is most often shown in an onMouseEnter event 
© and hidden in an onMouseLeave event 
aaa„1 2˝'Function' 'TObject5' 
aaa„aaa®'Nb. of lines' (•†˝Ścr'TObject5') 
aaa„aaa®'Size' ((,'CI8' Śfmt˝Śvr'TObject5'),' bytes') 
© Example 1: use a Listview object to display the tip 
0 0˝'ff' Świ '*Create' 'TTipForm5' ('content'aaa) ('color'204 204 255) 'Show' 
© Example 2: uses an APL+Win Grid object to display the tip 
0 0˝'ff' Świ '*Create' 'TTipForm5' ('gridcontent'aaa) ('gridcolor'0(204 204 255)) 'Show' 'SessionFocus' 
'ff' Świ 'shadedepth'6 
'ff' Świ 'shadeborder'1 
'ff' Świ 'shadeborder'0 
'ff' Świ 'shadecolor'255 
'ff' Świ 'shadedepth'3 
'ff' Świ 'shadecolor'0 
'ff' Świ 'gridcolor' (0 102 0) (204 255 204) 
© 'ff' Świ '*Hide'                           © hide the tip form 
© Example 3: display an image in the Tip Form 
0 0˝'ff' Świ '*Create' 'TTipForm5' ('*noredraw'1) 
'ff' Świ '*Set' ('imagefile' (('oo5' Świ 'installdir'),'buttons.bmp')) ('imagesize'16 16) ('image'2)  © MUST be set before <gridcontent> 
'ff' Świ 'gridcontent' (1 1˝,›'') 
'ff' Świ '*Set' ('gridcolor' (255 255 255)) ('shadecolor' (64 64 64)) 
'ff' Świ 'ShowOffSet'2 8 
Śerase'aaa' 
image    
Description:  Get or Set the image number to be displayed in the tip form 
Syntax:  'obj' Świ 'image'image 
image:  the number of an image contained in an <imagefile> 
Note:  this property is exploited when the <gridcontent> property is set 
so this property MUST be set before <gridcontent> is set 
Example: 
      'ff' Świ 'image'1 
imagefile    
Description:  Get or Set the image file name containing the images 
Syntax:  'obj' Świ 'imagefile'imagefile 
imagefile:  full path name of an image file containing images for the Tip form 
Note:  this property is exploited when the <gridcontent> property is set 
so this property MUST be set before <gridcontent> is set 
Example: 
      'ff' Świ 'imagefile' (InstallDir,'\logos50.bmp') 
shadeborder    
Description:  Get or Set the tip window border shadow 
Syntax:  {shade„'} 'obj' Świ 'shadeborder' {shade} 
shade:  boolean: 1=draw a border around the shade 
Example: 
      'ff' Świ 'shadeborder'1 
shadecolor    
Description:  Get or Set the tip window shadow color 
Syntax:  {rgb„'} 'obj' Świ 'shadecolor' {rgb} 
rgb:  a 3-element RGB vector 
Example: 
      'ff' Świ 'shadecolor' (192 192 192) 
shadedepth    
Description:  Get or Set the tip window shadow thickness 
Syntax:  {shadeddepth„'} 'obj' Świ 'shadedepth' {shadedepth} 
shadedepth: 
Example: 
      'ff' Świ 'shadedepth' (192 192 192) 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
New     Description: Create a new instance of TTipForm5
Example:
      'obj' Świ '*Create' 'TTipForm5'

Show    
Description:  Displays the last occured event in the APL session 
Syntax:  'obj' Świ 'ShowEvent' 
ShowOffSet    
Description:  Displays the tip form at a position offset from the cursor position 
Syntax:  'obj' Świ 'ShowOffSet'y x 
y:  vertical offset from cursor position (>0 is downward) 
x:  horizontal offset from cursor position (>0 is to the right) 
Note:  this method is handy for displaying the tip form at an offset 
position from the cursor position in an onMouseMove event handler 
Example: 
      'ff' Świ 'ShowOffSet'2 10 
Wait    
Description:  Waits on a TForm5 or TMDIForm5 centered on the screen 
Syntax:  'obj' Świ 'Show' 
Example: 
      'ff' Świ '*Create' 'TForm5' ('*size'300 400) 'Wait' 
Description   Inheritance   Example   Properties   Methods
 
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.