StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
DevExpress Sample - Connect Grid with Textboxes
DevExpress Sample - Connect Grid with Textboxes
Post Reply
Like
0
DevExpress Sample - Connect Grid with Textboxes
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ricardo Quartier
Ricardo Quartier
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 87,
Visits: 779
Hi bros, I've been watchin that DevExpressSample video, and i have a question. Is that a way to connect the grid with the textboxes? This way the aplication can be improved, click the register on the grid, then the textboxes will move to the same register.
Is that a way to make this work?
Reply
Like
0
Reply
StrataFrame Team
S
StrataFrame Team
posted 19 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
Close, Ricardo, but when you navigate Absolute, you need to use the other overload that allows you to specify the absolute index. Like this:
Private
Sub
EnhancedList1_SelectedRowChanged()
Handles
EnhancedList1.SelectedRowChanged
'-- Establish locals
Dim
loRows
As
Integer
()
'-- Get the selected rows
loRows =
CType
(
Me
.EnhancedList1.MainView, DevExpress.XtraGrid.Views.Grid.GridView).GetSelectedRows()
'-- Determine whether there is a row selected
If
loRows.Length > 0
Then
'-- Navigate to the row within the business object
Me
.BoCadEmpresa1.Navigate(MicroFour.StrataFrame.Business.BusinessNavigationDirection.Absolute
, loRows(0))
End
If
End
Sub
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
DevExpress Sample - Connect Grid with Textboxes
Ricardo Quartier
-
19 Years Ago
Yes, you can bind the business object to a grid through a...
StrataFrame Team
-
19 Years Ago
I mean, Enhanced List
Ricardo Quartier
-
19 Years Ago
Is it still the same way to the List? :D
Ricardo Quartier
-
19 Years Ago
Yes, if you're using the ListView, you'll want to attach to the...
StrataFrame Team
-
19 Years Ago
Yo, Ben, shold this work? Private Sub...
Ricardo Quartier
-
19 Years Ago
Close, Ricardo, but when you navigate Absolute, you need to use the...
StrataFrame Team
-
19 Years Ago
Yo, Ben thanks, I'll try here.... :)
Ricardo Quartier
-
19 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search