Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AnFoxGUI.dll
Message
 
À
04/09/2002 03:36:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00696069
Message ID:
00696579
Vues:
17
Michael,

>Don't worry. I found a workaround for the time being. ( Baloon help from July Foxtalk article ) . Your implementation is more refined ( rounded corners , respect for CR/LF ) , so I would be happy to test whenever you find some time to extend it for ActiveX.

Well, my tooltips are 'simply' the original Windows tooltips. Glad to hear that you like my work.

>After all, I didn't find that there is 254 limit imposed by keeping tooltip message in string property ctooltiptext ( edit box edtinstructions value having about 600 characters is shown completely for your demo form ).
>At least above-mentioned article says so

>"This means that the maximum size of my ToolTip text will be 254 characters because that's the most the string type property can hold"

That's not really true < g >. That's the maximum you can type in in the property sheet, but if you're putting the string into the property by code, AFAIK the limit is that of a string variable.

Armin

>
>Thanks
>Michael
>
>>>*** ActiveX Control Event ***
>>>LPARAMETERS button, shift, x, y
>>>aNode = this.GetNodeAt(X, Y)
>>>IF !ISNULL(anode)
>>> this.ctooltiptext = anode.text
>>> WAIT WINDOW this.ctooltiptext nowait
>>> FoxGUI_ShowToolTip(THIS, THISFORM, 500, 0, 0)
>>>ENDIF
>>>
>>>I am using your original form anfoxgui_sample just ActiveX was added.
>>>I subclassed ActiveX and added property ctooltiptext because the original documented property tooltiptext in not visible in PEM ( visible in VB )
>>>Obviously call upsets previous settings since baloon tooltip becomes a single line tooltip with chr(13) visible as black rectangle.
>>>
>>>
>>>>Michael,
>>>>
>>>>>Maybe it is contradictory to your original design, but what actually is needed in my case of ActiveX is just drawing ( the string and X,Y coordinates for baloon help are provided , but in this case probably it's my responsibility to kill it on mouse leave/mouse click or keypress which requires another function FoxGUI_KillToolTip )
>>>>
>>>>Is the tooltip showing up, when you put the mouse pointer over the ActiveX? I just ran some tests and got an error each time I put the mouse over the control.
>>>>
>>>>Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform