Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
Developers and Programming
MicroStation Programming
Cancel
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
Sign In
All tags
ListModel
ListBox
ListRow
MDL
editable listboxes
rayjoslyn
I am trying to get a listbox cell to be editable, but cannot get it to work. What am I missing? Below is the create from the listbox create hook and the Ditem_listboxrsc definition: case DITEM_MESSAGE_CREATE: { int i,numCols=2; …
over 14 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
Re: editable listboxes
Jon Summers
Ray: I am trying to get a listbox cell to be editable, but cannot get it to work. You are right to use a ListModel , but incorrect in assuming that a ListBox can be edited. The ListBox is merely the presentation device for a ListModel , and…
over 14 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
Re: mdlListRow_setStatus( )
Jon Summers
Data<=>User Interface A ListModel is a data storage utility. You can use a ListModel independently of its usual display widget, the MDL ListBox . However, the API blurs the distinction between data and presentation with functions like mdlListRow_setStatus…
over 11 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
Re: ListCell String
Jon Summers
ListBoxes & ListModels There's an article about ListModels, ListCells, and Cell Editors . There's an example MDL project you can obtain from that page. It shows an example dialog with a ListBox that stores a ListModel . The hooks functions in the…
over 11 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
Re: dgnlib levels and levelIDs
Jon Summers
Ray: How do I get it to use the level codes when I do the mdlLevelList_getLevelNamesListModelEx ? It's curious that those functions ignore the level code. Why don't they build a two-column ListModel that stores both the name and the code…
over 13 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
View related content throughout MicroStation Programming
More
Cancel