Mike,
I just tested this using your code and I can't replicate your issue. The
PDF comes up in the browser and the edit control turns yellow. RB
7.6.8.30331
----- Original Message -----
From: "Michael J. Sinclair" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Sunday, April 18, 2010 2:13 PM
Subject: [RBASE-L] - RE: Cant get PROPERTY<ComponentID>HIGHLIGHTFOCUS'TRUE'
to work
Thank you Dr. R!
I have created a very simple form that reliably reproduces what I am seeing.
The form has 1 variable edit, 1 browser control and 2 enhanced speed buttons
(one that works, the other that demonstrates what I am seeing). The code for
the on click EEP for the enhanced speed buttons is nearly identical, only
line 2 is different. If I rem out line 2 with 2 dashes, it works...the
cursor appears in the variable edit and the background color of the field
turns yellow. If I remove the 2 dashes then the browswer control shows the
pdf file, but the cursor does not appear to be blinking in the variable edit
and the background remains white. Here is the code in the on click eeps for
each enhanced speed button...
SET V vfilename TEXT = 'c:\documents\34codi.pdf'
--PROPERTY id_browser gourl .vfilename
PROPERTY id_varedit highlightfocus 'true'
PROPERTY id_varedit highlightfocuscolor 'yellow'
PROPERTY id_varedit set_focus 'true'
RETURN
If needed I can submit this form for your review.
Thank you for your assistance.
Mike Sinclair
--- On Sun, 4/18/10, A. Razzak Memon <[email protected]> wrote:
From: A. Razzak Memon <[email protected]>
Subject: [RBASE-L] - RE: Cant get PROPERTY<ComponentID>HIGHLIGHTFOCUS'TRUE'
to work
To: "RBASE-L Mailing List" <[email protected]>
Date: Sunday, April 18, 2010, 11:34 AM
At 11:02 AM 4/18/2010, [email protected] wrote:
Is there any reason that the cursor might not show up at the desired field
when the
property CID set_focus 'true' is executed after a property CID gourl
.vfilename ?
01. I can't answer that without knowing all details, sequence of commands
and anything
else in your form.
02. If you didn't know already, R:BASE Web Browser control is NOT an
editable DB or
Variable Edit control with the SET_FOCUS property option.
Web Browser is a part of "Internet Controls" with the following supported
properties:
. ALIGN
. CURRENTURL
. GOURL
. HEIGHT
. HINT
. MOVEBACK
. MOVEFORWARD
. SHOWHINT
. SUPPRESSSCRIPTERRORS
. TABORDER
. TABSTOP
. TOP
. URL
. VISIBLE
. WIDTH
The following sample application should help you understand all
PROPERTY/GETPROPERTY
commands for R:BASE Web Browser Control.
Sample Applications: http://www.razzak.com/sampleapplications/
Application: Understanding Web Browser Control PROPERTY/GETPROPERTY Commands
Very Best R:egards,
Razzak.