KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Feature Request: ToolTipTextTime or something alike
Goto page Previous  1, 2
 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed Aug 11, 2004 2:36 pm    Post subject: Reply with quote

Wahell ... Office hours are over right now ... real work starts immediately.
so... no, I won't make it before tomorrow Tired

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed Aug 11, 2004 4:02 pm    Post subject: Reply with quote

ok - updated dev. build with latest ToolTip and documentation. I put in the following feature as a trial only, check out these:

$ToolTip.Style = 1

Let me know what you think ... this property name/value may change - just wanted to get some feedback.

-Shawn
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed Aug 11, 2004 10:27 pm    Post subject: Reply with quote

I update the dev. build to include the new Tooltip framework, but just for Forms for now, so one can now plug a ToolTip object into the Form ToolTip property, and all child controls can be custom ToolTipped by just specifying the individual ToolTipText properties for each control.

Give a try and advise ...
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Aug 12, 2004 2:10 pm    Post subject: Reply with quote

ToolTip.Style = 1

A speech bubble, neat! (is it called like that ??)
Wonder why it only functions as $System object in opposition to the announced Framework for forms Confused

Clarification ?

Code:
Break On

$System = CreateObject("Kixtart.System")

$Form = CreateObject("Kixtart.Form")
$Form.Size = 400,400
$Form.Text = "Tooltip Demo"
$Form.Font = $Form.Font("Courier New",12)

$ToolTip1 = $System.Tooltip()

;; use this

;$ToolTip1.InitialDelay = 10
;$ToolTip1.PopupDelay = 10
;$ToolTip1.ReshowDelay = 10

;; or use this ...

 $ToolTip1.AutomaticDelay = 100
 $ToolTip1.ShowAlways = 1
 $ToolTip1.Style = 1

$ToolTip1.BackColor = "kixtart"
$ToolTip1.ForeColor = "white"

$ToolTip1.SetToolTip($Form,"This is the tooltip for the entire form!"+CHR(13)+"Go to button for more tips!")

$Button = $Form.Button()
$Button.Text = "Click..."
$Button.Center
$Button.OnCLick = "Click()"

$Tooltip1.SetTooltip($Button,"This is a tool tip for" + CHR(13) + "button1")

$Form.Center
$Form.Show
While $Form.Visible
 $= Execute($Form.DoEvents)
Loop

Exit 1

Function Click()

 $ToolTip1.Active = Not $ToolTip1.Active

EndFunction


Oh yeah, and there seems to be a graphics glitch on the northern and western borders of the bubble (No, I don't say they went south Wink

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.


Last edited by Jochen on Thu Aug 12, 2004 2:31 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Thu Aug 12, 2004 2:17 pm    Post subject: Reply with quote

Pretty sure both methods work ...

Code:

Break On

$System = CreateObject("Kixtart.System")

$Form = CreateObject("Kixtart.Form")
$Form.Size = 400,400
$Form.Text = "Tooltip Demo"
$Form.Font = $Form.Font("Courier New",12)

$ToolTip1 = $System.Tooltip()

$ToolTip1.BackColor = "Kixtart"
$ToolTip1.ForeColor = "white"
$ToolTip1.Style = 1


$Button = $Form.Button()
$Button.Text = "Click..."
$Button.Center
$Button.OnCLick = "Click()"

;; Use framework ...

$Form.ToolTip = $ToolTip1
$Button.ToolTipText = "This is a tool tip for" + CHR(13) + "button1"

;; Uncomment above and use tooltip method here ...

;; $Tooltip1.SetTooltip($Button,"This is a tool tip for" + CHR(13) + "button1")

$Form.Center
$Form.Show
While $Form.Visible
 $= Execute($Form.DoEvents)
Loop

Exit 1

Function Click()

 $ToolTip1.Active = Not $ToolTip1.Active

EndFunction
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Aug 12, 2004 2:33 pm    Post subject: Reply with quote

Oh yeah, sorry.

I tried that with something like

$ToolTip1 = $Form.ToolTip()

which is of course totally wrong Rolling Eyes

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group