I’m writing a kind of a backup routine. I’d like to use the PtFileSelect
widget to indicate which files and directories to backup. This is
essentially working, but I’d like to get the appearence that you usually
see on MS systems where there would be a check mark next to the files that
are selected. I also want to be able to select a directory and “check” all
of the files under it.
Is this behavour possible with the out of the box PtFileSelect?
I’m writing a kind of a backup routine. I’d like to use the PtFileSelect
widget to indicate which files and directories to backup. This is
essentially working, but I’d like to get the appearence that you usually
see on MS systems where there would be a check mark next to the files that
are selected. I also want to be able to select a directory and “check”
all
of the files under it.
Is this behavour possible with the out of the box PtFileSelect?
I’m writing a kind of a backup routine. I’d like to use the PtFileSelect
widget to indicate which files and directories to backup. This is
essentially working, but I’d like to get the appearence that you usually
see on MS systems where there would be a check mark next to the files that
are selected. I also want to be able to select a directory and “check”
all
of the files under it.
Is this behavour possible with the out of the box PtFileSelect?
\
I think you would need one of the ‘raw’ list variations.
I am using a format string of “130k120nd”, but the widget doesn’t seem to
allow more than about 70 pixels to be used for teh size column ‘k’.
I am trying to display file sizes that are under 3 levels of directories.
I.E.
Dir
Dir
Dir
File
but the size column isn’t big enough to display the size unless I move
the divider on top. AND teh size field isn’t as big as I requested.
(130 pixels)
This widget is created using PhAB. I am not trying to set any resources
in my own code.
“Bill Caroselli” <> qtps@earthlink.net> > wrote in message
news:cp7dk3$n6q$> 1@inn.qnx.com> …
I’m writing a kind of a backup routine. I’d like to use the
PtFileSelect
widget to indicate which files and directories to backup. This is
essentially working, but I’d like to get the appearence that you usually
see on MS systems where there would be a check mark next to the files
that
are selected. I also want to be able to select a directory and
“check” all
of the files under it.
Is this behavour possible with the out of the box PtFileSelect?
I think you would need one of the ‘raw’ list variations.
It might be easier to use a regular PtTree, especially if you don’t mind
having all the checkboxes in one column rather than next to the
expand/collapse button like they are in Windows. But even that could be
done with a PtTree – you’d just need to fake it by using an image that
looks like a checkbox next to a folder/file image, and doing your own
math to find out whether a click hits a checkbox or not. Of course, the
worst part is that you’d have to read the directories yourself.
Bill Caroselli <qtps@earthlink.net> wrote:
BC > One more file selector question/problem.
BC > I am using a format string of “130k120nd”, but the widget doesn’t seem to
BC > allow more than about 70 pixels to be used for teh size column ‘k’.
BC > I am trying to display file sizes that are under 3 levels of directories.
BC > I.E.
BC > Dir
BC > Dir
BC > Dir
BC > File
BC > but the size column isn’t big enough to display the size unless I move
BC > the divider on top. AND teh size field isn’t as big as I requested.
BC > (130 pixels)
BC > This widget is created using PhAB. I am not trying to set any resources
BC > in my own code.
BC > What am I doing wrong?
Is this a bug with the widget (as I assume),
or am I doing something wrong?
Bill Caroselli <qtps@earthlink.net> wrote:
BC > One more file selector question/problem.
BC > I am using a format string of “130k120nd”, but the widget doesn’t seem to
BC > allow more than about 70 pixels to be used for teh size column ‘k’.
BC > I am trying to display file sizes that are under 3 levels of directories.
BC > I.E.
BC > Dir
BC > Dir
BC > Dir
BC > File
BC > but the size column isn’t big enough to display the size unless I move
BC > the divider on top. AND teh size field isn’t as big as I requested.
BC > (130 pixels)
BC > This widget is created using PhAB. I am not trying to set any resources
BC > in my own code.
BC > What am I doing wrong?
Could someone please comment on this.
I am not even able to fix this bug by explicitly doing a SetResource on
Pt_ARG_FS_FORMAT in the setup code.