PDA

View Full Version : Vertical Aligment of cWebButton



Oscar
4-Jun-2015, 02:50 PM
Hello All,


How can I align this button (PDF) with the form to its left without having to set peLabelPosition to lpLeft? is there a peVerticalAligment?

8938

The code is like this:




Object oID2 is a cWebForm
Entry_Item Q.ID
Set pslabel to "ID:"
Set piColumnSpan to 3
Set piColumnIndex to 0
Set peLabelPosition to lpTop
Set peLabelAlign to alignLeft
Set psBackgroundColor to "yellow"
Set pbPromptButton to True
End_Object
Object oPDF is a cWebButton
Set piColumnSpan to 1
Set piColumnIndex to 3
Set psCaption to "PDF"
Set peLabelPosition to lpTop
Set peLabelAlign to alignLeft
End_Object





Thank you!
Oscar Mintegui

Dennis Piccioni
4-Jun-2015, 03:03 PM
Hi Oscar,

what's the piColumnCount of the container they are in? It might be too low.

Oscar
4-Jun-2015, 03:04 PM
it is 12

Stephen W. Meeley
4-Jun-2015, 03:07 PM
Oscar

On the button, set pbShowLabel True and peLabelPosition to lpTop.

Oscar
4-Jun-2015, 03:11 PM
Hi Stephen,

I have to edit the post, because it did work! I had a "to" missing causing not to update the designer!

Thank you!!!


Regards,
Oscar