Win32libex

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_0011_01C00ADD.A6026980
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

To all interested:

Line # 9312 in win32libex either is written wrong (mistakenly)
or, I'm writeing my code wrong. (I push more toward this theory)=20
But, with one small change, my code does work.

This doesnt work with my code
global function getParent( integer id )
    return tvitem_owner[ id ]
end function

This however does:
global function getParent( integer id )
    return tvitem_parent[ id ]
end function

Part of my Code:

sequence text, parent_name, grandparent_name
integer index, parent, grandparent
  =20
    index =3D getTVIndex( TV )
    =20
    if index =3D 0 then
    else --***** other obscure code *****

    parent =3D 0
    grandparent =3D 0

    parent_name =3D {}
    grandparent_name =3D {}

    text =3D getTVSelectedText( TV )
=20
    parent =3D getParent( index )
 =20
    if parent > 0 then
    parent_name =3D getTVText( parent )
    grandparent =3D getParent( parent )
        if grandparent > 0 then
           grandparent_name =3D getTVText( grandparent )
        end if
    end if

End of my Code

I know I've asked this several times now but, I still haven't found the
right method to makeing <tab> key inside of a Combobox work.

What I would like to do is, have several (many) comboboxes on screen
with dropdown and edit control be able to scan for <tab> or <enter> key
presses that would send me into the next combobox for either selection
of dropdown or edit.

Thanks in Advance'
euman at bellsouth.net



------=_NextPart_000_0011_01C00ADD.A6026980
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>To all interested:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Line # 9312 in win32libex either is =
written wrong=20
(mistakenly)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>or, I'm writeing my code wrong. (I push =
more toward=20
this theory)&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But, with one small </FONT><FONT =
face=3DArial=20
size=3D2>change, my code does work.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This doesnt work with my =
code</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>global function getParent( integer id=20
)<BR>&nbsp;&nbsp;&nbsp; return <FONT =
color=3D#0000ff>tvitem_owner</FONT>[ id=20
]<BR>end function<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>This however does:</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>global function getParent( integer id=20
)<BR>&nbsp;&nbsp;&nbsp; return <FONT =
color=3D#0000ff>tvitem_parent</FONT>[ id=20
]<BR>end function<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Part of my Code:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT color=3D#ff0000>sequence text, =
parent_name,=20
grandparent_name</FONT></DIV></FONT>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>integer index, parent,=20
grandparent<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; index =3D =
getTVIndex( TV=20
)<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; if index =3D 0=20
then<BR>&nbsp;&nbsp;&nbsp; else --</FONT><FONT face=3DArial =
size=3D2><FONT=20
color=3D#ff0000>***** other obscure&nbsp;code =
*****<BR></FONT></DIV></FONT>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>&nbsp;&nbsp;&nbsp; =
parent =3D=20
0<BR>&nbsp;&nbsp;&nbsp; grandparent =3D 0</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>&nbsp;&nbsp;&nbsp; =
parent_name =3D=20
{}<BR>&nbsp;&nbsp;&nbsp; grandparent_name =3D {}</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>&nbsp;&nbsp;&nbsp; text =
=3D=20
getTVSelectedText( TV )</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 =
size=3D2>&nbsp;<BR>&nbsp;&nbsp;&nbsp; parent =3D=20
getParent( index )<BR>&nbsp; <BR>&nbsp;&nbsp;&nbsp; if parent &gt; 0=20
then<BR>&nbsp;&nbsp;&nbsp; parent_name =3D getTVText( parent=20
)<BR>&nbsp;&nbsp;&nbsp; grandparent =3D getParent( parent=20
)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if grandparent &gt; 0=20
grandparent_name =3D getTVText( grandparent=20
)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end =
if<BR>&nbsp;&nbsp;&nbsp; end=20
if</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>End of my Code</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I know I've asked this several times =
now but, I=20
still haven't found the</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>right method&nbsp;to makeing =
&lt;tab&gt; key inside=20
of a Combobox work.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What I would like to do is, have =
several (many)=20
comboboxes on screen</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>with dropdown and edit control be able =
to scan for=20
&lt;tab&gt; </FONT><FONT face=3DArial size=3D2>or &lt;enter&gt; =
key</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>presses that would send me into the =
next combobox=20
for either selection</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>of dropdown </FONT><FONT face=3DArial =
size=3D2>or=20
edit.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in Advance'</DIV>
<DIV><A =
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =

------=_NextPart_000_0011_01C00ADD.A6026980--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu