Thread Tools Display Modes
02-09-06, 02:31 PM   #1
xbjim
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 58
tooltip descriptions

anyone know how i could go about doing this? adding tooltip descriptions to checkboxes and other objects?
  Reply With Quote
02-09-06, 04:17 PM   #2
Nulkris
A Cobalt Mageweaver
 
Nulkris's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 214
Arrow

For your checkbox, use the OnEnter event. For example type in:

Code:
GameTooltip:SetOwner(this, 'ANCHOR_BOTTOMRIGHT');
GameTooltip:SetText('This is a checkbox!')
Then use the OnLeave event to get rid of the tooltip:

Code:
GameTooltip:Hide()
__________________
Nulkris - A80 Rogue - Proudmoore
(Also Drukris, Hamkris on Proudmoore; Hulkris on Jubei'Thos & Khaz Modan)
  Reply With Quote
02-10-06, 01:40 PM   #3
xbjim
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 58
thank you!
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » tooltip descriptions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off