StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
TopMostItem with blank value and blank display
TopMostItem with blank value and blank display
Post Reply
Like
0
TopMostItem with blank value and blank display
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Trent Taylor
Trent Taylor
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
When both are empty the TopMostItem assumes that it will not be used. It all depends on how you are populating your combos. Ultimately these are just DataTables which are associated with the DataSource of the combo. So you could manually add a row to the DataTable.
With CType(MyCombo.DataSource, DataTable)
'-- Add a row to the data source or create a new data source
EndWith
Reply
Like
0
Andria Jensen
Andria Jensen
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 336,
Visits: 497
I have a bunch of DevEx inherited combos which I am binding to a BO. I would like to be able to clear each of these out by selecting a blank value from the dropdown or by pressing delete on the combo. I have done this before by using TopMostItem and setting the value to "" and the display to "(none)" or something like that. In these cases I would like for the display to just be an empty string, but the value also needs to be an empty string. When both of these are empty it does not put a TopMostItem in the combo and assumes you don't want one. Is there a way to "trick" it into letting me do this or another way to accomplish it? I tried putting in " " as a space instead of "" so it would look blank, but this didn't work either. Any suggestions? Thanks!
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search