AnsweredAssumed Answered

fix the background PDI display size as full when I open a new PDI display using a button

Question asked by kwon on Dec 16, 2016
Latest reply on Dec 16, 2016 by jru


I'm building a pop-up style display using a simple code. Below is the coding that I test. but I have one problem. when it opens a new display, the size of original display is changed from full size to a window size. I want to keep the background display as full size.

how can I do this..?


Private Sub Value2_Click(ByVal lvarX As Long, ByVal lvarY As Long)

Dim d1 As Display

Set d1 = Application.Displays.Open("C:\Users\Administrator\Documents\Display1.PDI", True)

d1.Top = 100

d1.Left = 100

d1.Height = 250

d1.Width = 250




End Sub