Win32libex
------=_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> </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) </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> </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> 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> 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> </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> <BR> index =3D =
getTVIndex( TV=20
)<BR> <BR> if index =3D 0=20
then<BR> else --</FONT><FONT face=3DArial =
size=3D2><FONT=20
color=3D#ff0000>***** other obscure code =
*****<BR></FONT></DIV></FONT>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2> =
parent =3D=20
0<BR> grandparent =3D 0</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2> =
parent_name =3D=20
{}<BR> grandparent_name =3D {}</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2> text =
=3D=20
getTVSelectedText( TV )</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 =
size=3D2> <BR> parent =3D=20
getParent( index )<BR> <BR> if parent > 0=20
then<BR> parent_name =3D getTVText( parent=20
)<BR> grandparent =3D getParent( parent=20
)<BR> if grandparent > 0=20
grandparent_name =3D getTVText( grandparent=20
)<BR> end =
if<BR> 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> </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 to makeing =
<tab> key inside=20
of a Combobox work.</FONT></DIV>
<DIV> </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
<tab> </FONT><FONT face=3DArial size=3D2>or <enter> =
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> </DIV>
<DIV>Thanks in Advance'</DIV>
<DIV><A =
<DIV> </DIV>
<DIV><FONT face=3DArial =
------=_NextPart_000_0011_01C00ADD.A6026980--
|
Not Categorized, Please Help
|
|