Home > Archive > Fortran > January 2008 > Combo Boxes
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| pjsgr100@gmail.com 2008-01-11, 4:30 am |
|
I am using drop down list combo boxes with winteracter. In the
resource editor the initial selection is one of the list, but when I
run the program the selection is not highlighted, wich means that
there is no selection made. How can I solve this problem?
Thanks in advance
Peter
| |
| Gary Scott 2008-01-11, 7:13 pm |
| pjsgr100@gmail.com wrote:
> I am using drop down list combo boxes with winteracter. In the
> resource editor the initial selection is one of the list, but when I
> run the program the selection is not highlighted, wich means that
> there is no selection made. How can I solve this problem?
>
>
> Thanks in advance
>
> Peter
I assume that there is a procedure (subroutine/function) that you can
call to select the particular item of interest at run time. That's how
I do this in GINO, because I often want to reset or change the initial
setting when the procedure is reentered or content updated.
--
Gary Scott
mailto:garylscott@sbcglobal dot net
Fortran Library: http://www.fortranlib.com
Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html
If you want to do the impossible, don't hire an expert because he knows
it can't be done.
-- Henry Ford
| |
| Catherine Rees Lay 2008-01-16, 8:11 am |
| pjsgr100@gmail.com wrote:
> I am using drop down list combo boxes with winteracter. In the
> resource editor the initial selection is one of the list, but when I
> run the program the selection is not highlighted, wich means that
> there is no selection made. How can I solve this problem?
>
>
> Thanks in advance
>
> Peter
You want WDialogPutOption.
Not sure how you're seeing a selection in the resource editor but not
the program. Are you sure you've recompiled and linked the version of
the resource script that you have loaded in the editor? It's possible to
set "no selection" in the resource editor but that's also reflected in
the resource editor view.
Catherine.
--
Catherine Rees Lay
Polyhedron Software Ltd. Registered Office: Linden House,
93 High St, Standlake, Witney, OX29 7RH, United Kingdom.
Registered in England No.2541693. Vat Reg No. GB 537 3214 57
|
|
|
|
|