Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21243

Correct VB6 code for popup calendar display location, please help

$
0
0
Hello Expert,

I am new in vb 6, Require code correction to prevent current drop down calendar from displaying below the bottom edge of the application.
the calendar and the code calling the calendar.
Calendar and selection of date works fine except if it is called from a row near the bottom of the screen the calendar extends below the screen.
VB6 application.

Code:

‘// Calling Sub
Private Sub dgGLT_CellButtonClick(ByVal row As Long, ByVal col As Long)
Dim lfrmNewPopup As frmPopup
Select Case col
Case myColREFD
Set lfrmNewPopup = New frmPopup
lfrmNewPopup.EditCellCalendar dgGLT, row, col
Set lfrmNewPopup = Nothing


Viewing all articles
Browse latest Browse all 21243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>