how can I programmatically make widget "focused"?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
EndangeringSpecies
Posts: 12
Joined: Thu May 05, 2011 4:47 am

how can I programmatically make widget "focused"?

Post by EndangeringSpecies » Wed Jun 22, 2011 7:49 am

I would like to be able to programmatically select a widget so that it would be focused. Kind of like it can be selected/focused with the mouse in "pointer tool" mode or via the Application Browser. Can I do this by setting some property of either the widget or the stack?

jharris
Posts: 84
Joined: Wed Jan 26, 2011 3:28 am
Location: Arkansas - USA

Re: how can I programmatically make widget "focused"?

Post by jharris » Wed Jun 22, 2011 11:27 am

try
focus on fld "fldName"
Operating System: macOS Monterey Version 12.5
LiveCode Version: 9.6.8

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”