Print Page | Close Window

Column Focused - Please Help!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18640
Printed Date: 02 December 2024 at 2:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Column Focused - Please Help!
Posted By: vaussenatf
Subject: Column Focused - Please Help!
Date Posted: 10 July 2011 at 10:51am
Hi everybody
I'm using report control to show to nurses medical information about patients.
Each column represent hour during day.
I've freeze the first 5 columns that representing patients and I would like (in time fonction) focused column that represent the actual time.
 
Example : if we're 4 O'Clock P.M. i would like that report control focused at this column ..(shown in the picutre)
 
I tried to use ReportControl.Navigator with the following code but it didn't work :
 
 
With rcGrid
    .FreezeColumnsCount = 5
    .Populate
    If nodeLevel = 3 And .Rows.count > 0 Then
       
        .Navigator.CurrentFocusInHeadersRows = True
        .Navigator.MoveToRow .SelectedRows(0).Index
        .Navigator.MoveToColumn Val(Split(c_periode, "-")(0)), True
        .Navigator.BeginEdit
    End If
    .Populate
    .SelectedRows.DeleteAll
End With
 
Thanks by advance
Regards
 
 


-------------
fabiofrance



Replies:
Posted By: Aaron
Date Posted: 12 July 2011 at 12:52pm
Hi,
 
There's a lot possible but you have to be more specific Wink
 
How do you want to show user which column is active? Or do you need to "scroll" to active column , right after patient info? Is the user able to edit 'cells' (after or before) when a column is inactive?
 
Thanks
 


-------------
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....


Posted By: vaussenatf
Date Posted: 12 July 2011 at 12:55pm
Hello,
Thanks for your answer
I would like just scroll to the column...
thank you very much


-------------
fabiofrance



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net