First)
An update toaddresses the problem that requires Dw_1.Reset() AND Dw_1.DataObject = “” to be added to the closing of each window containing a datawindow,.
Dw_1.Reset()
Dw_1.DataObject = “”
Second)
PB.ini needing Accessibility=0
First)
An update toaddresses the problem that requires Dw_1.Reset() AND Dw_1.DataObject = “” to be added to the closing of each window containing a datawindow,.
Dw_1.Reset()
Dw_1.DataObject = “”
Second)
PB.ini needing Accessibility=0
Are you saying that we need to add the following for EVERY datawidnow on the window when the window closes????????
Dw_1.Reset()
Dw_1.DataObject = “”
Why?
For better performance you could also include
[Datastore Behavior]
UseHwnd=0
"NativePDF_Valid=1" was only supported from PB2017 xx until PB 2019 R1 , so you might want to leave that out, depending on which version of PB you are using.
Have a read on UseHwnd=0 on https://www.pb.miguell.work/pb-ini/list-entries
If you decide to use it, it negatively affects the print of datastores when you want to user print(true, true) and thus have a Printsetup dialog show automatically (see https://community.appeon.com/index.php/qna/q-a/need-for-documentation-on-all-existing-pb-ini-entries )
BTW: I already reported having to set "accessability=0", to be a problem on the support site: https://www.appeon.com/standardsupport/track/view?id=7798
regards.
MiguelL
I only have the below two options in my pb.ini file
[Data Window]
NativePDF_Valid=1
Accessibility=0
The pb.ini from development has all the ones below. Are there ones I should have that could improve the performance of my runtime application?
[PB]
CompilerWarnings=1
DashesInIdentifiers=1
DatabaseWarnings=1
Maximized=1
PromptOnExit=0
StripComments=0
WebLink1=Community &Q&&A,https://community.appeon.com/
WebLink2=&Online Product Manuals,https://www.appeon.com/documents
WebLink3=PowerBuilder &Demo Apps,https://demo.appeon.com/?Powerbuilder
WebLink4=&PowerBuilder Education,https://www.appeon.com/appeon-u
WebLink5=&Technical Support,https://www.appeon.com/developers/get-help.html
WebLink6=&Latest Product News,https://www.appeon.com/news
EditorFontHeight=10
EditorFontName=Tahoma
PrinterFontHeight=10
PrinterFontName=Courier New
XPStyleTB=1
LatestProductNews=0
[Application]
DefLib=C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamfe.pbl
WorkingDir=C:\Program Files (x86)\Appeon\PowerBuilder 21.0
$C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamfe.pbl(examples)=C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamfe.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamw3.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamd2.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamfn.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexammn.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamuo.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamw1.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamw2.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamd1.pbl;C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexamsa.pbl;
$C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexbm.pbl(benchmark)=C:\Users\Public\Documents\Appeon\PowerBuilder 21.0\Code Examples\Example App\pbexbm.pbl;
[Window]
GridOn=0
GridShow=1
GridX=8
GridY=8
Status=0
[Menu]
[Database]
AutoQuote=1
Columns=8
NoCatalog=No
ReadOnly=0
ShowIndexKeys=1
ShowReflnt=1
StayConnected=1
TableDir=1
TableListCache=1800
TableSpace=*
TerminatorCharacter=;
HideComments=0
ShowRefInt=1
ODataInPBClassic=1
[Data Window]
GridOn=0
GridShow=0
GridX=8
GridY=8
new_default_datasource=5
new_default_presentation=2
Outline_Objects=1
PreviewOnNew=no
PreviewRetrieve=1
Preview_RetainData=1
PrintOnNew=Yes
PrintPreviewRulers=No
PrintPreviewZoom=100
Ruler=No
Status=0
stored_procedure_build=1
OverlayLineWidth=1
[Library]
ApplicationExplosion=1
ApplicationScripts=1
DeletePrompt=1
DisplayComments=1
DisplayDates=1
DisplaySizes=1
IncludeApplications=1
IncludeDataWindows=1
IncludeFunctions=1
IncludeMenus=1
IncludePipeLines=1
IncludeQueries=1
IncludeStructures=1
IncludeUserObjects=1
IncludeWindows=1
MenuAttributes=1
MenuScripts=1
SaveBackupsOnOptimize=1
WindowAttributes=1
WindowObjects=1
WindowObjectsAttributes=1
WindowObjectsScripts=1
WindowPicture=1
WindowScripts=1
NormalFont=Courier New
NormalFontHeight=10
[Debug]
VariablesWindow=0
WatchWindow=0
[Machine Code]
[SQL Painter]
Hidecomments=0
Tabitem=1
[PB Welcome]
IsEnable = 1
WebLink = news.appeon.com/start.html
have you turned off ACCESSIBILITY in your runtime pb.ini?
add a pb.ini file to your runtime install directory of the application.
Include the following:
[Data Window]
ACCESSIBILITY=0
regards