Currently, I'm porting an old calendar project from Gambas2 to Gambas3.

There is a GridView which shows days and times. It has 24 rows, so in 
order to show a Baines Line, the code was

GridView.Row = Hour(Now)

baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height / 
60) * Minute(Now))

In Gambas3, GridView.Current.Y seems to give the relative position from 
the upper edge of the whole grid, even when it is not visible. That 
means, instead of values like 745, it now receives 1035, so the Baines 
Line will be too low to appear.

What would you use instead of Current.Y to hit the right square of the 
GridView?

Thanks for your help.

Regards
Rolf


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to