Dc:_PopDir wrong function

This forum is for eXpress++ general support.
Message
Author
User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Dc:_PopDir wrong function

#1 Post by PedroAlex »

Hi Roger,


dc_Popdir() is not working correct.
Attachments
Dc_PopDir_264.PNG
Dc_PopDir_264.PNG (38.04 KiB) Viewed 12825 times
Dc_popdir_267.jpg
Dc_popdir_267.jpg (63 KiB) Viewed 12825 times
Pedro Alexandre

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dc:_PopDir wrong function

#2 Post by rdonnay »

Code: Select all

dc_Popdir() is not working correct.
What do you want it to do?
The eXpress train is coming - and it has more cars.

User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Re: Dc:_PopDir wrong function

#3 Post by PedroAlex »

Roger

same as the previous version:
Select the drive.
Select file type




Thanks..
Pedro Alexandre

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dc:_PopDir wrong function

#4 Post by rdonnay »

The source code for DC_PopDir() hasn't been changed in 20 years.
The eXpress train is coming - and it has more cars.

User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Re: Dc:_PopDir wrong function

#5 Post by PedroAlex »

Where can I find the DCDIRTREE source code?
Pedro Alexandre

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dc:_PopDir wrong function

#6 Post by rdonnay »

What is it that you want it to do?

It's purpose is only to allow you to choose a directory.

If you want more than that, then maybe you should look at DC_PopFile().
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Dc:_PopDir wrong function

#7 Post by Wolfgang Ciriack »

I think, he means the sizing problem from the second picture, the fields for drive and type are not visible ?
_______________________
Best Regards
Wolfgang

User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Re: Dc:_PopDir wrong function

#8 Post by PedroAlex »

Wolfgang Ciriack wrote:I think, he means the sizing problem from the second picture, the fields for drive and type are not visible ?

Yes, this is the problem.
and i often use these types of functions in my apps.
This occurrence happens in eXpress 267 and xBase 2.0.1176.
Perhaps some change has occurred in the XbpTreeView()
and probably an update to the eXpress Code is needed.

Many thanks..
Pedro Alexandre

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dc:_PopDir wrong function

#9 Post by rdonnay »

I still don't understand.

It appears that Pedro took a snapshot of a different selector than DC_PopDir().

The source code for this 20-year old function does not have any drive and file type selectors.

This was one of the first functions I wrote when I got Xbase++.
DC_PopDir() is just a wrapper for a class that was a sample given to us by Alaska.

It doesn't have a drive and file type selector.
The eXpress train is coming - and it has more cars.

reganc
Posts: 257
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Dc:_PopDir wrong function

#10 Post by reganc »

rdonnay wrote:I still don't understand.

It appears that Pedro took a snapshot of a different selector than DC_PopDir().

The source code for this 20-year old function does not have any drive and file type selectors.

This was one of the first functions I wrote when I got Xbase++.
DC_PopDir() is just a wrapper for a class that was a sample given to us by Alaska.

It doesn't have a drive and file type selector.
Sorry, Roger, I hate to point this out, but doesn't dc_popdir use dc_dirselector (which has a drive letter combobox) and dc_fileselector (which has an extensions combobox).

And as the original screenshot shows (and in our application where it is used as a popup) the static parent of each seems to be the wrong size for the listbox and combobox to fully be visible.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

Post Reply