StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Issues
»
TopMostItem and enumeration population...
TopMostItem and enumeration population...
Post Reply
Like
0
TopMostItem and enumeration population...
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 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
LOL...don't worry about it
We have all been there!
Reply
Like
0
StarkMike
StarkMike
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 436,
Visits: 944
Ok, I
FINALLY
figured it out... I was trying to set the SelectedValue property to -1
INSTEAD
of setting the SelectedIndex property to 0! (0 because I am using the DevExpress wrapped ComboBoxEdit) I
HATE
it when I make those
STUPID
mistakes. They are
SO
frustrating.
Thanks for your help.
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Give this sample a try
Attachments
TopmostSample.zip
(
69 views,
34.00 KB
)
Reply
Like
0
StarkMike
StarkMike
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 436,
Visits: 944
Here's a screenshot of it's properties. Sorry for the large size... I wanted you to be able to read it.
I didn't think I was doing anything out of the ordinary.
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
THen you must not be setting the TopMostItem properly. How are you setting this? You just need to provide a description and a value. This will only work if you are using an automated population property like the Enumeration.
Reply
Like
0
StarkMike
StarkMike
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 436,
Visits: 944
Yes.
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Do you get the same behavior with the StrataFrame combo?
Reply
Like
0
StarkMike
StarkMike
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 436,
Visits: 944
I'm filling a comboboxedit based on an enumeration and using the TopMostItem property... however whenI run my app... the topmost item doesnt appear in my comboboxedit by default.
I've tried setting the selectedvalue to -1 in both the Load and Shown events of the form and tried to set it to -1 on a click event... still no luck.
Any thoughts?
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