<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Sep 2016 15:55:00 Z</lastBuildDate><pubDate>28 Sep 2016 22:37:00 Z</pubDate><description>I have a list of messages I want to display. This list could be long, so it needs to be scrollable. I'm using controlcreate/controlclone to create the static controls for each message. I would use a looper but I want each control to be sized to fit the message. I am currently using an internal window. I pass a data source var from the main window to a procedure in the internal window. I loop through the data source and create a control for each message. The problem is that the internal window is not scrollable unless the height of the internal window is set to more than the height of the internal window control in the editor. If I try to increase the height of the internal window each time I add a message the scrollbar does not show. Below is the code of the procedure.&#13;
&#13;
nYPos is int = STC_Temp..Y nIndex is int = 1 FOR EACH dsMessages IW_Messages..Height += 100 // name of my internal window ControlClone(STC_Temp,"STC_Message" + nIndex,STC_Temp..X,nYPos) {"STC_Message"+nIndex,indControl} = dsMessages.Message nIndex++ nYPos += 112 END STC_Temp..Visible = False</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window/read.awp</link><title>[WD20] Best Practice to Allow User to Scroll a Window</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window-59748/read.awp</comments><pubDate>29 Sep 2016 15:55:00 Z</pubDate><description>Thanks! I'll give it a try. I did not think you could individually resize looper cells. That's good to know.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window-59748/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window-59748/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window/read.awp">[WD20] Best Practice to Allow User to Scroll a Window</source><title>Re: [WD20] Best Practice to Allow User to Scroll a Window</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window-59746/read.awp</comments><pubDate>29 Sep 2016 10:06:00 Z</pubDate><description>Hi Curtis,&#13;
&#13;
I use a looper for a similar situation. The looper has a few controls (stcatic, RFT-edit and an image.&#13;
For every …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window-59746/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window-59746/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59745-wd20-best-practice-allow-user-scroll-window/read.awp">[WD20] Best Practice to Allow User to Scroll a Window</source><title>Re: [WD20] Best Practice to Allow User to Scroll a Window</title></item></channel></rss>
