Change from Edit Style "Edit" till "DropDownDW" at runtime

Is it possible to change the edit style from "Edit" till "DropDownDW" at
runtime?
I want a DropDownDataWindow to appear when in query-mode only. How do I do
it ?

Thanks for any help!
Turid

0
Turid
9/13/1999 1:43:13 PM
sybase.powerbuilder.pfc 6437 articles. 1 followers. Follow

1 Replies
1094 Views

Similar Articles

[PageSpeed] 11
Get it on Google Play
Get it on Apple App Store

Have you tried to use the Modify command? I didn't look up the syntax for this
but it would be something like :
dw_1.Modify("column_name.dddw.Name='d_list'")
dw_1.Modify("colun_name.dddw.DataColumn='list_id'")
You will need to GetChild() on "column_name" to retrieve the list but I'm sure
you get the idea.

HTH

Turid wrote:

> Is it possible to change the edit style from "Edit" till "DropDownDW" at
> runtime?
> I want a DropDownDataWindow to appear when in query-mode only. How do I do
> it ?
>
> Thanks for any help!
> Turid

0
Dennis_Nickels
9/14/1999 7:09:21 PM
Reply:

Similar Artilces:

DataControlRowState is "Edit" or "Alternate, Edit"
In the Gridview RowDataBound event, I check for the state of the row to cast some controls and manipulate with them:Protected Sub gvAutori_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) If e.Row.RowType = DataControlRowType.DataRow Then            If e.Row.RowState = DataControlRowState.Normal Or e.Row.RowState = DataControlRowState.Alternate Then             ...            ElseIf e.Row.RowStat...

"Edit" Vs"Edit Mask"
Are there any potential problems changing a datawindow date field from "edit" to "edit style" and vice versa? I have over 100 datawindows and who knows how many of them have date fields. Question is if I change the edit style from "Edit" to "Edit Mask" of dd/mmm/yyyy. Will this cause any kind of problems? TIA Well we changed ours from editmask to edit (partly because of the large numbers of bugs in edit masks in early builds of PB7, partly because our customers found editmasks unfriendly to use) and it didn't cause any problems. ...

How do I set a home page. Traffic Swarm says just click "edit" then "preferences," but there is no "preferences," under "edit."
Name: Theodore Pong Email: theodorepongatyahoodotcom Product: Firefox Summary: How do I set a home page. Traffic Swarm says just click "edit" then "preferences," but there is no "preferences," under "edit." Comments: How do I set a home page. Traffic Swarm says just click "edit" then "preferences," but there is no "preferences," under "edit." Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16 From URL: http://hendrix.mozilla.org/ ...

.ALLCOL("%COLUMN%", " ", ", ", ", ")
Do you know anyway for me to exclude a subset of columns returned by this function. We have two columns (rec_user and rec_datetime) which are in all of our tables, but when generating triggers I want automatically generate a script which does not include those two columns but does include all other columns in that table. Bruce I should add that I am using PD 9.0.0.580. Bruce "Bruce Lamb" <lamb.bruce@mayo.edu> wrote in message news:6HgI315nCHA.155@forums.sybase.com... > Do you know anyway for me to exclude a subset of columns returned by this > function. ...

Precedence of "where" ("of", "is", "will")?
Nobody on #perl6 today could answer this one. Is: Str | Int where { $_ } the same as: (Str | Int) where { $_ } or: Str | (Int where { $_ }) ? Followup questions, Mr. President: What kind of operators are "where", "of", "is", and "will"? Is there a reason that S03 doesn't list them? What are their precedence(s)? -- Chip Salzenberg - a.k.a. - <chip@pobox.com> Open Source is not an excuse to write fun code then leave the actual work to others. Chip Salzenberg writes: &...

quotes, quotes, quotes...
I am getting this error and I know what is causing it, but I have no idea how to fix it, any help would be great. The script steps through the /var/log/messages file on a linux server and puts The entries into a mysql database. However when it gets to the 'hlt' line in the messages file it just barfs. The single quotes are freaking it out. I know about quotes but not how to use in this situation. Thanks, Paul Error: May 27 17:53:00 localhost kernel: Checking 'hlt' instruction... OK. <----- doesn't like this in the messages file DBD::mysql::st exec...

no "enable editing" "enable deleting" "enable updating"
In my visual studio 2005 beta1,there is no "enable editing", "enable deleting", "enable updating"options. why? is the vision wrong??thanks! Which control are you talking about?/Fredrik Normén - fredrikn @ twitterMicrosoft MVP, MCSD, MCAD, MCTASPInsidersMy Blog "gridview" control!! I have, so you should also have it if you create a data source for the GridView control in the design view and make sure you have specified the Insert and Update Command for the DataSource. You can also add a CommandField to the GridView columns <asp:CommandFi...

Is "Bug Changes" multi-select an "and" or an "or"?
Either I'm confused, or there is a defect with the way that advanced searching in the "Bug Changes" box works (perhaps both). I created 2 new Bugs http://landfill.bugzilla.org/bugzilla-2.20-branch/show_bug.cgi?id=2841 and http://landfill.bugzilla.org/bugzilla-2.20-branch/show_bug.cgi?id=2842 2841 is just new. No PCR chagnes of any form. 2842 is new, but with the status changed (I accepted the bug). Then I ran two queries. First I unselected everything, then in the "Bug Changes" box I selected: Only bugs changed in 2d with "[Bug creation]" ...

"-" not "_"
I wrote a SQL statement in the data tab. I wrote a bunch of alaises as example ' word-type ' but when I hit the layout tab it converts the "-" to "_". So now my field name is ' word_type '. Is there any way to prevent this? CardGunner Don' use a hypen ( - ).  It isn't a valid character for column names.   See http://searchsqlserver.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid87_gci1188931,00.html   Here's an excerpt about column names: Letters as defined in the Unicode Standard 2.0 Decimal numbers from either B...

"To" and "From" missing
When I print emails, the words "To" and "From" are blank, even though the "To" name and "From name (addresser, addressee) do show up. This is not a problem for other users on my system. Suggestions In mailbox right click, view. On the message window, right click and choose print options. Make sure print header is checked. -- Barry Merchant NSC Volunteer SysOp *** no email unless requested please!! *** > In mailbox right click, view. On the message window, right click and > choose print options. Make sure prin...

What makes "Drafts" folder "editable"?
Hi, I've recently started to use a subfolder of my drafts folder to store notes in a manner similar to the "Notes" feature of Outlook. It works reasonably well. The next obvious step is to move it out of the "Drafts" tree and into it's own top level folder. Is there a simple setting that I can tweak in the data files to enable editing of messages in a folder? To be honest, I'd prefer to be able to edit any message in any folder; however, I can see how that opens a can of worms. As an aside, if it's a simple tweak, am I alone in thinking that...

Using "+" or "||"
Using SQLAnywhere 5.5.04, I've gotten into the habit of using "||" in ISQL to indicate a string concatenation. I needed to paste my SQL statement into the PowerBuilder script painter for some embedded SQL, and PB didn't like the "||" very much at all. I changed it to "+" and it seems to be ok. Do these two operators indicate ~exactly~ the same thing? moin, afaik these two's are not the same! if you're using "||" and any term is NULL then in the resultstring the term will be ignored if you use "+" then the resu...

Why I cannot use "delete" and "edit" functions ???
Hi all,This application was hosted at remote site.  I had a problem when I try to delete or edit or rename  my Album or Photo  after I logged in as  administrator.  I already checked all parameters for matching from both PhotoManager.cs class and all store procedures from Personal.mdf database.  Each parameter is matching each other.  But I still do not know why I got those problems above.  But when I add a new album, it is ok. There is no problem for adding a new album.   I use C# version.  I hosted this application at www.vwdhosting.ne...

Replacing "\\" with "\"
Hi all I'm getting this value from a CheckBoxList control - a location of file, i have to remove "\\" and replace it with "\" and pass it to Query, how to do it, i tried with Replace, but coud'nt suceed. "\\\\Blaze10xp\\BLZ_SFS_07\\Sample Excel Files\\Excel Files\\report2.xls" thank's in advance - Prakash.C you tried Replace like this? string newstring = oldstring.Replace(@"\\",@"\");Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!My blog: Scenes From A Developer Memory yes i tr...

Web resources about - Change from Edit Style "Edit" till "DropDownDW" at runtime - sybase.powerbuilder.pfc

Resources last updated: 12/24/2015 12:52:50 AM