I wonder if someone might be able to help me with a dddw tha won't drop.
This is a new app I'm writing in PB4, to which I just upgraded.
The opening window is w_tasks, a window containing 5 buttons - a kind of
'menu' of tasks. The user clicks one, depending on what task he wants to
perform. Clicking the button in question opens a different window
(w_maint)
with the "Open(w_maint)" command (that's the only code behind the button).
w_maint contains a datawindow control (dw_dropdown) using a datawindow
(d_company) based on a 2-column table. Column A (division) has an edit
style
of dddw, column B (name) is just 'edit' style. In the 'DDDW Edit Style'
box
for division, I have the following:
Data Window: d_company V Scroll Bar is the only option
selected.
Display column: division Width of DropDown is 500%
Data column: division
The 'open' event for w_maint contains:
SetTransObject(dw_dropdown,sqlca)
Retrieve(dw_dropdown)
When the w_maint window opens, the first row of my table shows in the
dddw.
But there is no 'dropdown' arrow. Tabbing into or clicking in the
datawindow control has no effect.
The kicker is that I have another app, written in PB3, that has an
identical
dddw. I converted it to PB4 and it works fine. I've tried to duplicate
it,
but just can't get it to work. (Please don't suggest inheritance, I
haven't
even looked up the definition yet, and my deadline doesn't provide for
minor
tasks like 'learning' or 'training'!)
Thanks in advance for any help,
Dave