Problem/Issue 3410
 
Query for PDR ID
Example: search for PDR ID 109-9999 , just enter 9999 into the entry field and press ENTER.
Open Build: Open Date: Language:
1.30.211 22.10.1999 (All)
Closed Build: Close Date: Platform:
1.90.317 09.02.2005 WIN32
State: Reference PDR ID: Hotfix Rollup No.:
CLOSED    
Symptom:
XbpSpinbutton:PadWithZeros causes incorrect value format
Description:
Setting XbpSpinButton:PadWithZeros to .T. results in values being
formatted without respect to the number format specified using
method :SetNumLimits(). Instead, the value always contains as
many places as the value set in instance variable :BufferLength.




Solution:
Set :BufferLength to the number of digits in the upper bound specified
to :SetNumLimits()

Example:
 (...)
  o := XbpSpinbutton():new( ,, )
  o:BufferLength := 3    // Limit display to 3 digits (max=100)
  o:PadWithZeros := .T.
  o:create( ,, {10,10},{200,50} )
  o:SetNumLimits( 0,100 )
 (...)


 
(C) Copyright Alaska Software Inc. 2008, All rights reserved!
Disclaimer, Limitation of Liability, no Warranty: THE INFORMATION, DOCUMENTS, FILES AND MATERIALS CONTAINED IN THIS SITE ARE PROVIDED "AS IS". ALASKA SOFTWARE DOES NOT WARRANT THE ACCURACY, ADEQUACY OR COMPLETENESS OF THIS INFORMATION AND MATERIALS; THUS EXPRESSLY DISCLAIMS LIABILITY FOR ERRORS OR OMISSIONS IN THIS INFORMATION AND MATERIALS.
WARRANTIES OF ANY KIND, IMPLIED, EXPRESSED OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF NON-INFRINGEMENT OF THIRD PARTY RIGHTS, TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR RESOLVEMENT-CLAIMS, ARE DISCLAIMED.