Questions tagged [flowpanel]

30 questions
8
votes
1 answer

Delphi: TFlowPanel margins between each control

I am using the TFlowPanel and at runtime i am creating a variable number of controls (in this example TButton) on it. I want to create a margin between each control, but it doesnt work yet. procedure TForm1.FormCreate(Sender: TObject); var i:…
Dennis F.
  • 428
  • 4
  • 15
3
votes
2 answers

TFlowPanel. Adding controls at run-time

Does anybody know how to add controls, say a TImage, to a TFlowPanel at runtime? Regards, Pieter
Pieter van Wyk
  • 2,316
  • 9
  • 48
  • 65
3
votes
2 answers

C# Winforms - Adding forms to a FlowPanel control

I have a page where I have to modify variables which are strings with pairs of values and labels. I was using a datagrid object but its not sufficient for whats required ( or eventually will not anyway ). So I have a form which is a text label and…
Tom J Nowell
  • 9,588
  • 17
  • 63
  • 91
3
votes
2 answers

Drag and Drop in GWT using gwt dnd

I have been really struggling to get Drag and Drop working in GWT. Last 3 days, I was trying to create a basic drag and drop application and failed. Currently I can drag it around, but I am unable to drop to any location. How can we solve it? Do…
Koran
  • 647
  • 2
  • 8
  • 21
3
votes
3 answers

java gwt flowpanel always new line

I'm trying to use a flowpanel in java gwt but when I add different widgets, the panel adds every widget in a new line, here is how I set the flowPanel public class Test extends Composite { public abstract class SomeWidget extends Composite { …
wasp256
  • 5,943
  • 12
  • 72
  • 119
2
votes
1 answer

is it possible to rearrange controls in a flowpanel at run time?

so i have a flow panel and a button that adds listviews to it at run time. i have my doubleclick events set up - is it possible to set up some kind of click (or click and drag) event to rearrange the controls in the flow panel? i know we can change…
ikathegreat
  • 2,311
  • 9
  • 49
  • 80
2
votes
2 answers

FlowPanel Vertical Scroll

I have a flowpanel that I'm dynamically adding usercontrols to. I want it to keep adding them and use a vertical scroll bar. It instead wraps them to the top and places a horizontal scroll bar. I'm sure I'm just missing something, but how do I…
Aaron Smith
  • 3,332
  • 4
  • 29
  • 25
2
votes
2 answers

How to store a unique value into a Panel (GWT)?

This is simple question but there's No answer found on the Internet. Ok, some widgets such as CheckBox have a method called myCHeckBox.setFormValue(text); so I take advantage of this method to store the unique ID into a CheckBox so that later on I…
Tum
  • 3,614
  • 5
  • 38
  • 63
2
votes
2 answers

How to resize a control inside a TFlowPanel using the Align property?

I have a few controls (namely, TDBChart) inside a TFlowPanel. When the user clicks on one of them, I'd like it to fill the entire flow panel's client area. But, it seems that changing the visible and align property of child controls inside a flow…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
1
vote
2 answers

flow panel with listview

I'm creating listviews in a flowpanel at run time which later will accept drag and dropped files. the reason being is i want these to act as folders so a user double clicks and gets a window displaying the contents. i'm having difficulty setting up…
ikathegreat
  • 2,311
  • 9
  • 49
  • 80
1
vote
2 answers

Where to find this FlowPanel?

I have found many sources referencing a WPF class called FlowPanel. There is even a MSDN entry about FlowLayoutPanel. But my Intelisense can't find it when I type in my XAML:
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
1
vote
1 answer

GWT - Cannot display JSON Object on nextline

I'm using a String builder to display my data in a FlowPanel( parsed JSON data) and im trying to display each Object on a new line. I have tried using "\n", "\r\n", etc and still no joy. Any ideas? StringBuilder builder = new StringBuilder("**…
eire1994
  • 29
  • 7
1
vote
2 answers

How do I access controls in a custom user control in a flow layout panel?

I created a custom user control in a c# forms application to contain a groupbox, a checkbox, and a button. In my main app, I'm able to add these controls to a flow layout panel and set their initial values. Problem is, how do I access the button…
Zonus
  • 2,313
  • 2
  • 26
  • 48
1
vote
2 answers

GWT treating FlowPanel as HTML Context - why?

I am trying to do something quite simple, create a div based layout using uiBinder. At the centre of the layout are a couple of labels, some TextBoxes and an image. My desired output is: ____________________ Label 1 | box 1 …
1
vote
2 answers

Datagrid inside FlowPanel is not visible- GWT

I have a Datagrid which I am placing inside a FlowPanel. However, this datagrid is not visible unless I explicitly set its size by doing datagrid.setSize("100%", "250px"). I want the datagrid's width to be 100% but I want its height to change…
awareeye
  • 3,051
  • 3
  • 22
  • 22
1
2