PowerBuilder

Tuesday, January 15, 2013

Alternate row color


Place a rectangle with a transparent background color. Place fields on the rectangle. In the expression tab for the rectangle, in the backgound color field :
if ( mod(getrow(),2) = 0, oneColor, anotherColor )
Posted by Unknown at 11:43 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Labels

  • VB Scripting in PowerBuilder
  • Windows 7 Shell Commands

Blog Archive

  • ▼  2013 (17)
    • ▼  Jan (17)
      • Get a List of Column Names in a DataWindow using D...
      • VB Scripting in PowerBuilder
      • Windows 7 Shell Commands
      • RunDll Commands
      • Access Stored User Names and Passwords with rundll...
      • Alternate row color
      • Use a Java class (PB9)
      • Scan Window titles
      • Detect if running in PB or executable
      • Terminate an another application
      • Evaluate an expression
      • Retrieve an environment variable
      • Get the executable name
      • Open the Webapge in PowerBuilder
      • Creating Registry file Using PowerBuilder
      • Access PB Code in VB
      • Accessing Word in PowerBuilder

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments
Simple theme. Powered by Blogger.