|
|
|
TDBGridEh::RestoreGridLayout
|
|||
|---|---|---|---|
|
#18+
как в билдере использовать метод RestoreGridLayout ? вот так в дельфях: ============ procedure RestoreGridLayout(ACustIni: TCustomIniFile; Section: String; RestoreParams:TDBGridEhRestoreParams); overload; dbGrid.RestoreGridLayout(RegIniFile,"GRID", [grpColIndexEh, grpColWidthsEh, grpSortMarkerEh, grpColVisibleEh, grpRowHeightEh, grpDropDownRowsEh, grpDropDownWidthEh]); ============ в частности не могу никак правильно передать RestoreParams :( ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2005, 07:18 |
|
||
|
TDBGridEh::RestoreGridLayout
|
|||
|---|---|---|---|
|
#18+
вот описание TDBGridEhRestoreParams : enum TDBGridEhRestoreParam { grpColIndexEh, grpColWidthsEh, grpSortMarkerEh, grpColVisibleEh, grpRowHeightEh, grpDropDownRowsEh, grpDropDownWidthEh }; typedef Set<TDBGridEhRestoreParam, grpColIndexEh, grpDropDownWidthEh> TDBGridEhRestoreParams; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2005, 08:10 |
|
||
|
TDBGridEh::RestoreGridLayout
|
|||
|---|---|---|---|
|
#18+
вот описание TDBGridEhRestoreParams : enum TDBGridEhRestoreParam { grpColIndexEh, grpColWidthsEh, grpSortMarkerEh, grpColVisibleEh, grpRowHeightEh, grpDropDownRowsEh, grpDropDownWidthEh }; typedef Set<TDBGridEhRestoreParam, grpColIndexEh, grpDropDownWidthEh> TDBGridEhRestoreParams; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2005, 08:27 |
|
||
|
TDBGridEh::RestoreGridLayout
|
|||
|---|---|---|---|
|
#18+
Привет. Так я пишу: Восстановление настроек Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Сохранение настроек Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. Удачи. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2005, 10:47 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=33086856&tid=2033241]: |
0ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
41ms |
get topic data: |
9ms |
get forum data: |
3ms |
get page messages: |
33ms |
get tp. blocked users: |
1ms |
| others: | 235ms |
| total: | 349ms |

| 0 / 0 |
