When i try to use:
dw_sel_dep.setitem(1,"nr_bobina",os_appl.s_null_str) // to add an empty
row
dw_sel_dep.setfocus() // to set focus on
i have not the curson within the cd_department column
Why ?? What is missing ??
TIA
Roby
Have you tried to use setColumn rather than setFocus?
On 8 Jun 2004 02:31:31 -0700,
in sybase.public.powerbuilder.datawindow
as you said me, i tried to use
dw_sel_dep.setcolumn("nr_bobina")
dw_sel_dep.setfocus()
but with previuos wrong effect.
Thank you
"Williams" <wben...@webmail.altensi.fr> wrote in message
news:40c599d6$1@forums-2-dub...
"Roberto Lammoglia" <NOSPA...@becromal.it> wrote in message
news:40c5c867@forums-2-dub...
dw_sel_nr_bob.setitem(1,"nr_bobina",os_appl.s_null_str) // to pupulate with
1 null row
dw_sel_nr_bob.setfocus()
dw_sel_nr_bob.setcolumn("nr_bobina")
but i have not focus on the dddw, something was wrong ??
Thank
Roberto
"Jerry Siegel" <jer...@data-sci.com.nospam> wrote in message
news:40c5d2cf$1@forums-2-dub...
"Roberto Lammoglia" <NOSPA...@becromal.it> wrote in message
news:40c5dab0@forums-2-dub...
"Jerry Siegel" <jer...@data-sci.com.nospam> wrote in message
news:40c5dd63$1@forums-2-dub...
"Roberto Lammoglia" <NOSPA...@becromal.it> wrote in message
news:40c6df94@forums-2-dub...
"Jerry Siegel" <jer...@data-sci.com.nospam> wrote in message
news:40c726c6$1@forums-1-dub...
"Roberto Lammoglia" <NOSPA...@becromal.it> wrote in message
news:40c72d55@forums-1-dub...
1) I have an dw object named dw_nr_sel_bobina that have only one field (type
dddw) named nr_bobina.
2) I need to blank this dddw and get the focus in field to allow user insert
some data.
3) When i use
dw_sel_nr_bob.setitem(1,"nr_bobina",os_appl.s_null_str) // where
os_appl.s_null_str = null
dw_sel_nr_bob.setfocus()
dw_sel_nr_bob.setcolumn("nr_bobina")
no focus i got, but when i click (with the mouse) on the dw dw_sel_nr_bob i
got focus.
It's very strange, Jerry.
Thank a lot.
"Jerry Siegel" <jer...@data-sci.com.nospam> wrote in message
news:40c75097$1@forums-2-dub...
"Roberto Lammoglia" <NOSPA...@becromal.it> wrote in message
news:40c80675@forums-1-dub...
"Jerry Siegel" <jer...@data-sci.com.nospam> wrote in message
news:40c876ec$1@forums-2-dub...
"Roberto Lammoglia" <NOSPA...@becromal.it> wrote in message
news:40c95f13@forums-1-dub...
"Jerry Siegel" <jer...@data-sci.com.nospam> wrote in message
news:40c9c796$1@forums-1-dub...