selectionchanged |
Post Reply |
Author | |
nenkalo
Groupie Joined: 02 August 2008 Status: Offline Points: 36 |
Post Options
Thanks(0)
Posted: 06 August 2008 at 11:03am |
hi
rpt_ctrl.selectionchanged raise when user change in select but it not raise when selection changed via code . Private Sub reportcontrol_SelectionChanged() Me.Caption = reportcontrol.SelectedRows.Count End Sub Private Sub cmd_del_Click() Dim i As Long For i = reportcontrol.SelectedRows.Count - 1 To 0 Step -1 reportcontrol.RemoveRecordEx reportcontrol.SelectedRows(i).Record Next End Sub after pressing cmd_del we have 0 selected records . but me.caption show last selectedrows`s count . and |
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) Language: Visual Basic 6.0 |
|
nenkalo
Groupie Joined: 02 August 2008 Status: Offline Points: 36 |
Post Options
Thanks(0)
|
oh sorry !
this topic related to report control ! plz move it and sorry again |
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) Language: Visual Basic 6.0 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
Just copy your text in a new post in RC forum and show code how you select other row.
The SelectionChanged event does not fire when you only delete records like this. So Me.Caption will stay the same as long you don't select another row.
I will wait until you post new question in RC forum and I will delete this reply and you can delete yours as well.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
nenkalo
Groupie Joined: 02 August 2008 Status: Offline Points: 36 |
Post Options
Thanks(0)
|
ok
tnx dear Aaron i read this i think when selected items changed (however with code) must fire selectcionchanged . anyway its not important for me . i want just report it . plz delete your post . tnx again |
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) Language: Visual Basic 6.0 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |