Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AnFoxGUI.dll
Message
From
04/09/2002 03:36:34
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00696069
Message ID:
00696514
Views:
18
Armin,

>>Obviously call upsets previous settings since baloon tooltip becomes a single line tooltip with chr(13) visible as black rectangle.
>
>That's the original control tooltip - not the one from the fll.

I meant here calling fll inside ActiveX MouseMove upsets baloon tooltips for native controls on your demo form.

>
>How urgent is this for you? Do you have time to wait until the end of the month? I have to finish a project at the moment (app. till mid of September), which is very important. After that I will find some time to have a look into the fll to see what I can do. Would this be ok for you?

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.

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"

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform