Useing GetFocas
Saturday, December 23, 2006 by Jingles | Discussion: DesktopX
I have a prodject I'm working on that has an object hidden by virtue of being a
child object.And it shows via script,executed though another object say a button.I
need to give focas to the first object.I have had no luck.Any help would be
apreciated.
Thanks
Jingles
Reply #2 Sunday, December 24, 2006 8:41 AM
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Sunday, December 24, 2006 1:54 AM
How about using object.setfocus
You can insert a script like this in the button:
Sub Object_OnLButtonUp(x,y,d)
If Not d Then
desktopx.Object("object2").visible = True
desktopx.Object("object2").setfocus
End If
End Sub