Print Page | Close Window

[BUG] in display RC

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=20194
Printed Date: 23 November 2024 at 2:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [BUG] in display RC
Posted By: kerog
Subject: [BUG] in display RC
Date Posted: 03 October 2012 at 5:18am

Hi

Why I have thats effect:

http://screencast.com/t/Qn3PnEqSd - http://screencast.com/t/Qn3PnEqSd

Code for create columns:

oo_column = this.object.Columns.AddEx(1,'Kod',"SKklient_kod",60,true)
oo_column.HeaderAlignment = gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmentcenter +&
gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmenticonvcenter + &
gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmentwordbreak
oo_column.Filterable = false
oo_column.ShowInFieldChooser = false
oo_column.Sortable = true
oo_column.Editable = false
oo_column.AllowRemove = false

oo_column = this.object.Columns.AddEx(2,'Nazwa',"SKklient_firma_osoba",100,true)
oo_column.HeaderAlignment = gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmentcenter +&
gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmenticonvcenter + &
gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmentwordbreak
oo_column.Filterable = false
oo_column.ShowInFieldChooser = false
oo_column.Sortable = true
oo_column.Editable = false
oo_column.AllowRemove = false

oo_column = this.object.Columns.AddEx(3,'Zespół Handlowy',"LGcrm_grupa_kod",100,true)
oo_column.HeaderAlignment = gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmentcenter +&
gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmenticonvcenter + &
gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmentwordbreak
oo_column.Filterable = false
oo_column.ShowInFieldChooser = false
oo_column.Sortable = true
oo_column.Editable = True
oo_column.AllowRemove = false
oo_column.EditOptions.ConstraintEdit = True
oo_column.EditOptions.AddComboButton()
oo_column.EditOptions.SelectTextOnEdit = true

oo_column = this.object.Columns.AddEx(4,'Row',"NZc_gr",140,false)
oo_column.HeaderAlignment = gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmentcenter +&
gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmenticonvcenter + &
gcodejock.ireportcontrol.ixtpcolumnalignment.xtpalignmentwordbreak
oo_column.Filterable = false
oo_column.ShowInFieldChooser = false
oo_column.Sortable = false
oo_column.Editable = false
oo_column.AllowRemove = false
oo_column.ShowInFieldChooser = false
oo_column.Visible = false

this.Object.SortOrder.Add(this.Object.Columns[2])
this.Object.SortOrder.Add(this.Object.Columns[1])
this.object.SortOrder[0].SortAscending = true
this.object.SortOrder[1].SortAscending = true

this.Object.Populate()
this.Object.Redraw()



-------------
Product: Xtreeme SuitePro (activeX) v. 15.3.1
Platform: MS Vista Buisness (32bit) SP2 PL
IDE: PowerBuilder 11.5.1



Replies:
Posted By: mgampi
Date Posted: 05 October 2012 at 1:54pm
Which effect do you mean?
Be more specific!


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net