RC as a Grid |
Post Reply |
Author | ||||||||||||||
Albert1
Groupie Joined: 01 February 2007 Location: Italy Status: Offline Points: 66 |
Post Options
Thanks(0)
Posted: 13 August 2010 at 6:21pm |
|||||||||||||
Hello,
I am using CJ controls since about 3 years and now I'm trying to use RC a as a grid for data entry (to finally substitute vs**ex and tdb**id). The approach row/item seems good however I encountered some problems (testing RC):
Some hints?
TY
Alberto
|
||||||||||||||
Product: Xtreme SuitePro (ActiveX) version 13.4.1 / 16.3.0
Platform: Windows Vista (32bit) - SP 2 Language: Visual Basic 6.0 (SP6) |
||||||||||||||
Albert1
Groupie Joined: 01 February 2007 Location: Italy Status: Offline Points: 66 |
Post Options
Thanks(0)
|
|||||||||||||
I get this why I set:
No one has similar problems? I guess all people are using RC only to show records with no editing. O am I fully wrong?
From the reference of a famous grid (not updated anymore in the ActiveX version):
I am talking about a grid created about 15 years ago ...
I am trying to reach the [3] behaviour by using in RC:
however the result is so combersome.
Is there a better solution?
TY
|
||||||||||||||
Product: Xtreme SuitePro (ActiveX) version 13.4.1 / 16.3.0
Platform: Windows Vista (32bit) - SP 2 Language: Visual Basic 6.0 (SP6) |
||||||||||||||
Albert1
Groupie Joined: 01 February 2007 Location: Italy Status: Offline Points: 66 |
Post Options
Thanks(0)
|
|||||||||||||
Working on the Tab behaviour for my forms I discovered the PreviewKeyDown event. I have to admit it: in about 15 years of VB programming no one gave us such a powerful event. This increases the fire power to the infinite
So I drop down some lines of code I wish to share.
In a new form insert (in the order): a textbox, a reportcontrol, a button (reportcontrol is in the middle) and add this code:
There are still two questions to resolve:
1) When Shift+Tab from button to ReportControl, the last Row is selected but to edit some row's cell I need to Tab and start from the first column instead of the last (maybe I have to save the RC activecell and restore when enter).
2) When Shift+Tab from RC to textbox and I am in row 0, col 0 the inplacebutton remains visible.
However its enough for start working with a real project .
|
||||||||||||||
Product: Xtreme SuitePro (ActiveX) version 13.4.1 / 16.3.0
Platform: Windows Vista (32bit) - SP 2 Language: Visual Basic 6.0 (SP6) |
||||||||||||||
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 |