dddw won't drop down

dddw won't drop down

Post by DavidT10 » Fri, 03 Feb 1995 00:29:55



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

 
 
 

dddw won't drop down

Post by Curtis Fel » Thu, 09 Feb 1995 13:41:31


Also check to see if you might have added that particular object twice - the original
being behind another object or not within your imediate view (like off to the right

Curtis (still have most of my hair after the 3.0a to 4.0 migration)

 
 
 

dddw won't drop down

Post by Jan-Christoph Geig » Sat, 04 Feb 1995 17:46:50



>Path:
>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.

Check the tab order of the columns in your data window. Maybe you have a tab
order index of zero for your dddw. Has been often a pitfall for me.

HTH,

-jan

 
 
 

1. Help - Can't get Drop Down Data Window (DDDW) to work w/Sybase

I'm having great difficulty getting my DDDW's to work in PB 4.0 & Sybase.  

For Some reason, I am unable to get the "drop down part" to work.  When I
click on the down arrow, nothing happens.  In fact, if I click on any other
field on the window, nothing happens.  When I use these same tables w/Watcom
DB, they work as expected....I can hit the arrow key & my list of items is
displayed.

I am using PowerCerv's PowerTool.  I have tested using inherited and
non-inherited windows (from PowerTool) when connecting to Watcom's DB &
Sybase and the problem only exists when connecting to Sybase.

Config:  Sybase running on Novell (VLM's), Windows 3.1, PB 4.0, 16MB RAM &
PowerCerv's PowerTool.

Any help is greatly appreciated as this is critical.  Thanks in advance.
--
**************************************************************

*                       Hyattsville, MD USA                  *
*                'A goal is a dream taken seriously'         *
**************************************************************

2. WANTED: Workbench 2.03

3. Computer won't power down on shut down anymore (Win ME)

4. Pagefile error after installing metaframe, can't startup windows

5. Why do Drop Down List Boxes drop down off screen?

6. error: can't find OS2DASD.DMD, won't boot, help?

7. File Menu 'Pull down' won't work properly

8. How to uninstall a patch???

9. Tape drive won't work, Scanner won' work Win 95

10. Modem Won't drop the Line ...

11. Cancelling drop-event of dddw

12. 4200c won't let win98 shut down

13. NeXTstation won't power down