Page 1 of 1

How to make a tool-tip for button? (Solved)

Posted: Thu 08 Nov 2012, 20:41
by oldyeller
Hello Everyone

I would like to know how a tool-tip is done for a button and what is needed for a script to alert the user when a program is already been installed.

any help would be great thanks

Posted: Thu 08 Nov 2012, 20:56
by RSH
Tool Tip

Code: Select all

tooltip-text=\"Your tool tip here.\"
Example

Code: Select all

<checkbox tooltip-text=\"Your tool tip here.\">
	<label>Your Label</label>
	<default>$YOURDEFAULTSET</default>
	<variable>YOURDEFAULTGET</variable>
</checkbox>
Check for File

Code: Select all

# check if file is available
if [ -f "Your-Exe-Here" ]; then
	# run your app or script
fi
or also

Code: Select all

# check if file is available
if [ -f "$Your-Exe-Here" ]; then
	# run your app or script
fi

Posted: Sat 10 Nov 2012, 21:43
by oldyeller
Hi RSH,

It was just after I posted this that I found how to do the tooltip. Will the code for the alert next

Thanks

Cheers