Have you tried changing the sequence of the property commands?

Regards,
Alastair.



From: Michael J. Sinclair 
Sent: Monday, August 20, 2012 11:42 PM
To: RBASE-L Mailing List 
Subject: [RBASE-L] - Re: Property componentid GOURL varname makes me lose 
mycursor

Hi Jan,
It works perfectly when I trace it, so I thought it would be a timing issue.
Pause for 5 did not work, but ...
Pause for 1 USING 'Bam!' 
does seem to make it work better. Seems like I need to have the focus shifted 
away from the Web Control after the GOURL command to get the following commands 
to work. The only issue with my work around seems to be the highlighting of the 
characters based on checking AUTOSELECT...the characters are no longer 
highlighted, but that is not a big deal.
Mike



--------------------------------------------------------------------------------
From: jan johansen <[email protected]>
To: RBASE-L Mailing List <[email protected]> 
Sent: Monday, August 20, 2012 6:28 PM
Subject: [RBASE-L] - Re: Property componentid GOURL varname makes me lose 
mycursor


Mike,

Does your field get the focus if you TRACE the command?

Possibly a timing issue.
Maybe try a PAUSE FOR 2 after the
PROPERTY id_bigpdf GOURL .vdisplayname
to give it time to process.
Does your field get the focus if you TRACE the command?

Jan

-----Original Message-----
From: "Michael J. Sinclair" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Mon, 20 Aug 2012 15:13:39 -0700 (PDT)
Subject: [RBASE-L] - Property componentid GOURL varname makes me lose my cursor

 
  Hi All,
  In an eep, if  I have this ...

  PROPERTY id_vfolder set_focus 'TRUE'
  PROPERTY id_vfolder lastchar 'true' 
  RETURN

  The focus goes right where I want it, ie the end of the last character in my 
variable edit field

  But, if I have this...

  PROPERTY id_bigpdf GOURL .vdisplayname
  PROPERTY id_vfolder set_focus 'TRUE' 
  PROPERTY id_vfolder lastchar 'true' 
  RETURN

  The focus initially goes where it is supposed to go, but then it is "lost", I 
can't see a cursor anywhere. 
  I have to click on the field at the end of the last character to make changes 
to the field.
  When I trace it, it works fine with or without the GOURL. 
  Even stranger, I have "AUTOSELECT" checked for the desired field, and the 
characters are all still selected, but no cursor!

  Why is the PROPERTY id_bidpdf GOURL .vdisplayname command causing me to lose 
my cursor or the cursor location? 

  Mike


Reply via email to