Dayle,
I run the following code in both 9.0 and 9.1 and it works correctly:
CLEAR VAR vcaption,xdate,vendkey
SET VAR vcaption TEXT = 'Enter Assignment Date'
SET VAR xdate TEXT = NULL
SET VAR vendkey TEXT = NULL
DIALOG 'Enter Assignment Date (mm/dd/yy) or Double-Click for Calendar' +
xdate=8 vendkey 1 +
CAPTION .vcaption +
ICON APP +
OPTION POPUP_ENABLED TRUE +
|POPUP_DIALOG_TYPE DATE +
|themename longhorn
RETURN
You will notice that I use single quotes (') instead of double quotes (");
there have been several threads in the past that discussed the advantage of
switching from the old double quotes to the single quote. Also since my date
is set as:
DATE FORMAT MM/DD/YYYY
I only get the first 2 characters of the year, since you have allowed only 8
characters for the variable xdate in the DIALOG statement. If your date is
set as:
DATE FORMAT MM/DD/YY
Then, you should be OK, otherwise you need to change the length to 10
characters.
I tested it on versions:
R:BASE eXtreme 9.0 (64), U.S. Version, Build: 9.0.5.10104
and
R:BASE eXtreme 9.1 (64), U.S. Version, Build: 9.1.2.10119
Javier Valencia, PE
913-829-0888 Office
913-915-3137 Cell
913-649-2904 Fax
[email protected]
________________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Coxen, Dayle
Sent: Thursday, January 27, 2011 8:18 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: popup calendar dialog problem
Thanks Jan.
I installed the latest updates (9.1.2.10119), but still have the same issue.
Dayle Coxen
Florida DOT
(850) 410-5635
From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Thursday, January 27, 2011 9:01 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: popup calendar dialog problem
Dayle,
There is a more recent release.
Check for updates and then try again.
Jan
-----Original Message-----
From: "Coxen, Dayle" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Thu, 27 Jan 2011 08:50:09 -0500
Subject: [RBASE-L] - popup calendar dialog problem
I just upgraded from 7.6 to eXtreme 9.0 (32) Version 9.0.4.11223
My "popup calendar " dialogs now have a problem.
Now when I double click on a "enter date dialog" the "popup calendar dialog"
comes up behind the "enter date dialog".
I have to drag the calendar from behind the "enter date" dialog to access
the dates on the calendar.
Here is my code:
CLEAR VAR vcaption,xdate,vendkey
SET VAR vcaption TEXT = "Enter Assignment Date"
SET VAR xdate TEXT = NULL
SET VAR vendkey TEXT = NULL
DIALOG "Enter Assignment Date (mm/dd/yy) or Double-Click for Calendar" +
xdate=8 vendkey 1 +
CAPTION .vcaption +
ICON APP +
OPTION POPUP_ENABLED TRUE +
|POPUP_DIALOG_TYPE DATE +
|themename longhorn
Any assistance will be greatly appreciated.
Dayle Coxen
Florida DOT
(850) 410-5635