The SyntaxFromSQL function maybe what you need to create data windows with
column objects. In the documentation:
"To create a DataWindow object, you can pass the source code returned by
SyntaxFromSQL directly to the Create function.:
Documentation for the Modify() function says the following:
"Modify lets you make many of the same settings in a script that you would
make in the DataWindow painter. Typical uses for Modify are:
*Changing colors, text settings, and other appearance settings of objects."
You could look at the PowerBuilder DWSyntax utility, it should be useful
regarding the exact syntax to use. For example regarding height of the
detail band it says:
"<DW Control Name>.Modify("DataWindow.Detail.Height='<an integer>'")".
or in "Dot" notation:
"<DW Control Name>.Object.DataWindow.Detail.Height='<an integer>'"
-----Original Message-----
From: Matthew Oliveira [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 10:00 PM
To: [EMAIL PROTECTED]
Subject: PFCSIG PFC Dynamic Datawindows
I am dynamically creating datawindows. I can use the PFC
of_addtext and of_addcompute functions to add text and computed field
objects, however, I would also like to add column objects. Are there any
PFC functions to do this? Also, when adding text/computed field objects,
the object names are assigned by default, is there any way to specify these
names?
And is there any way to specify the height and width of a column through
PFC, or the height of any of the bands?
______________________
.\\atthew Oliveira
[EMAIL PROTECTED]
- The problem with being punctual is that no one is there to appreciate it.
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]