Le 12/04/2015 15:39, Martin McGlensey a écrit : > How do I force a DataControl to display text, that is longer than the > control, as left justified. That is if the control is sized to accept ten > characters, on the form, and the text is twenty characters I want to see > the first ten. Now I see the last ten. Want to see the first ten and be able > to arrow over to see the next ten. Is there an align property to address > this? > > > > All solutions are welcome. > > > > Thanks, > > Marty >
The DataControl has a Control property that returns the underlying control used. With it, you can cast it to a TextBox, and then use the Pos property to force the cursor to be at the beginning of the text. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
