BrowseDialog - true/false combo


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
particularly like the subtle Time Action on the date. That tells me someone has been there and done that before me

Thanks....yeah, we hit that wall a while back.  Smile  So we knocked it down BigGrin

Aaron Young
Aaron Young
StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Works great - thanks!

By the way, the BrowseDialog is a very powerful control - I particularly like the subtle Time Action on the date. That tells me someone has been there and done that before me! Smile

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Actually you are going down the right road and getting close.  You will want to use the Enum options and create an enum with values like this:

Public Enum MyBooleanEnum as Integer
    No = 0
    Yes = 1
End Enum

or

Public Enum MyBooleanEnum as Integer
    False = 0
    True = 1
End Enum

Once you have the enum, then you will assign this when setting up the SearchField.  Then you will want to assign a value of -1 as the "Not Used" value for the TopMost Item (Combo - General page) which is should be by default anyway.  This should work just fine as I did it the other day. 

Aaron Young
Aaron Young
StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
I have a true/false bit field in SQL and I would like to display this to a user in a browse dialog as a combobox containing true/false selections. I have played around with the Combo - Enum option in the SearchFields dialog but I can't seem to get it to work for System.Boolean.

Assuming that this is possible, can anyone point me in the right direction please?

Thanks in advance,

Aaron

P.S. I was trying to use the Combo - Enum option as I don't think I can use a CheckBox?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search