@Picklist

I use @picklist with server 6.53 and client 5.012.The user of my application haven’t problem… now the user clients are updating to release 6.53.

The users tell me that the dimension of the box (that appear with @picklist) are more smaller then before upgrade clients…

Can i set the dimension of box that appear with @picklist?

I see in help that in the @piclist i can’t set the dimension of the box but i’d like to know if there is one setting for the client for change the dimension… for example in the notes.ini…

thanks in advance,

Paolo

Subject: @Picklist

In R6, most dialog boxes are resizable. The resizing is remembered in the NOTES.INI for future calls. I suppose you can set something in the INI for R6 users.

Here are some which are in my INI:

WindowSizeMoveDB=368 157 556 368

WindowSizeReplHistory=178 134 753 232

WindowSizeSharedField=483 134 313 175

WindowSizeFieldsAndFunctions=495 134 290 214

WindowSizeActiveLog=294 134 692 251

WindowSizeACLAddUser=486 134 307 112

WindowSizeAgentLog=435 134 633 401

WindowSizeAmbiguousDialog=312 134 656 300

WindowSizeBrowse=479 134 322 318

WindowSizeChooseLocation=504 158 271 160

WindowSizeDesignKeywords=448 134 383 266

WindowSizeFolders=468 134 343 207

WindowSizeGotoView=481 134 317 248

WindowSizeImageResources=450 134 379 378

WindowSizeInsertResource=448 134 383 493

WindowSizeKeywords=445 134 389 452

WindowSizeMoveToFolder=473 134 334 336

WindowSizeNameSoundexMailing=312 134 656 300

WindowSizeNewDatabase=445 134 389 427

WindowSizeOpenDoc=366 134 548 290

WindowSizeOtherServer=471 134 337 212

WindowSizePickKeywords=420 134 440 307

WindowSizeReplaceDesign=468 134 344 271

WindowSizeSectionEditRead=489 134 301 191

WindowSizeSimpleFolderNew=448 134 383 287

WindowSizeToolbarPrefs=343 134 593 492

WindowSizeUpdateDesign=478 134 323 99

WindowSizeWin=25 20 1230 953

The first 2 numbers describe the location of the window on the x- and y-axis. The second pair describes the size of the window. The numbers given are in pixels.

Hope this helps!

John

Subject: @Picklist and Window Size adjustment

I have found out the ini for resize PickList Window:“WindowSizePickKeywords”

However, the parameter is found in Notes6 rather than 5, so chk version before writing it.

You can enlarge the PickList Window size before calling @PickList and restore it after calling

‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’

Sub AssignPickWinSize

'To enlarge the PickList WIndow Size by setting system Notes.INI 

'Backup the sys one with the same name as a user setting($)

On Error Goto ErrH

Const delim = " "

Const key="WindowSizePickKeywords" 

Dim tmpstr As String



Set ss = New NotesSession 

'get the system variable

tmpstr=Trim(ss.GetEnvironmentString(key, True))

If Len(tmpstr) Then

'BackUp the environment var

	Call ss.SetEnvironmentVar(key, tmpstr, False )	

	

	tmpArr= Fulltrim(Split(tmpstr, delim))

	

	tmpArr(2)="1000"

	tmpArr(3)="900"

	

	tmpstr=Join(tmpArr, " ")

'Set 

	Call ss.SetEnvironmentVar(key, tmpstr, True)	

End If

Exit Sub

ErrH:

Print "Err in setting picklist window size."

End Sub

“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”"

Sub RestorePickWinSize

'Restore the backup setting from the same name  user setting($) in ini

On Error Goto ErrH

Const key="WindowSizePickKeywords"

Dim ss As NotesSession

Dim tmpstr As String

Set ss = New NotesSession 



tmpstr=Trim(ss.GetEnvironmentString(key, False))

If Len(tmpstr) Then

	'Reset the system

	Call ss.SetEnvironmentVar(key,  tmpstr , True )	

	'Clear the user one

	Call ss.SetEnvironmentVar(key,  "" , False )	

End If	

ErrH:

End Sub