2010-01-08 20:17 UTC
hello,
i try to program a grid with column styles depending on acad like acadlayer, linetype lineweight, textstyle. a sample is attached.
now the problems i run into:
- problems with calculating the columnwidth on that acadtype styles
because they are solved by pulldowns and containing an image.
perhaps the solution is use of separate dialogs like colortype does.
- clicking on lineweight-button version 6.0.0.18 has problems. the dialog hung and must be
escaped.
- if you click an acadtype button the old value is lost.
- ...GRID1_OnButtonClicked is not called by button click.
- row data read by (dcl_Grid_AddString gridcontrol row ";") ignores parts
without text. aa;bb;;;;ff is parsed as "aa|bb|ff| | | " instead of "aa|bb| | | |ff".
- if click on an acadtyped button the previous value is cleared. please look at layertype
there should be a way to handle undefined values like an empty datafield or an not existing layer
or simply 'no data set'. that should be kept until the user takes an existing value.
i try to program a grid with column styles depending on acad like acadlayer, linetype lineweight, textstyle. a sample is attached.
now the problems i run into:
- problems with calculating the columnwidth on that acadtype styles
because they are solved by pulldowns and containing an image.
perhaps the solution is use of separate dialogs like colortype does.
- clicking on lineweight-button version 6.0.0.18 has problems. the dialog hung and must be
escaped.
- if you click an acadtype button the old value is lost.
- ...GRID1_OnButtonClicked is not called by button click.
- row data read by (dcl_Grid_AddString gridcontrol row ";") ignores parts
without text. aa;bb;;;;ff is parsed as "aa|bb|ff| | | " instead of "aa|bb| | | |ff".
- if click on an acadtyped button the previous value is cleared. please look at layertype
there should be a way to handle undefined values like an empty datafield or an not existing layer
or simply 'no data set'. that should be kept until the user takes an existing value.


