Focus of an object

Questions and Answers about DataEase for Windows

Focus of an object

Postby robb » Mon Feb 28, 2011 3:03 pm

I'm sure this is pretty simple or not possible at all, how do you set the focus from one object to another in OML?
robb
 
Posts: 45
Joined: Thu Jan 07, 2010 9:20 am
Has thanked: 0 time
Been thanked: 0 time
 

Re: Focus of an object

Postby KjetilUrne » Mon Feb 28, 2011 4:05 pm

One possibility could be to use the keystrokes CDF with TAB or Shift TAB arguments
KjetilUrne
 
Posts: 602
Joined: Mon Oct 08, 2007 8:21 am
Location: Norway
Has thanked: 4 times
Been thanked: 1 time
 

Re: Focus of an object

Postby Graham Smith » Mon Feb 28, 2011 6:04 pm

Unfortunately there is no object level SetFocus() command.
Graham Smith
DataSmith, Delaware
"For every expert there is an equal and opposite expert.", Arthur C. Clarke (1917 - 2008)
"X-Clacks-Overhead: GNU Terry Pratchett"
User avatar
Graham Smith
 
Posts: 2501
Joined: Fri Sep 07, 2007 11:31 am
Location: Delaware, USA
Has thanked: 0 time
Been thanked: 1 time
 

Re: Focus of an object

Postby KjetilUrne » Wed Mar 02, 2011 10:46 am

Could you elaborate, Robb? What are you trying to achieve?

FWIW; On a daily basis, I use an aspect with scripts that
a) shifts focus from one of four possible event-buttons to a certain value-field
b) store the record and progress to the next one (highligting the value-field for easy copying into another application)
this in order to spare myself of too much mouse-clicking or tab-use.
KjetilUrne
 
Posts: 602
Joined: Mon Oct 08, 2007 8:21 am
Location: Norway
Has thanked: 4 times
Been thanked: 1 time
 
 

Return to DataEase for Windows

Who is online

Users browsing this forum: No registered users and 2 guests

cron