Setting a minimum height for a dyanmic subform

I am creating a form that is reading in a set of instructions from XML. I would like to limit the instructions to 2 per page. Is there a way I can set a minimum height for the subform, so it will at least be 1/2 the page?

Hi,
If that's the case, then you could size each field in the Design view so that each field takes up have a page. Then in the Layout tab select "expand to fit height" (should also have allowed multiple lines in the Object / Field tab).
Then when you import the XML, short instructions will appear two per page, while longer ones will flow onto following pages. If the fields are set to half a page then you should not get more than 2 on a page.
Hope that is of help,
Niall 

Similar Messages

  • I can't set the minimum height for a flowed subform

    I have a subform, sfQ, that holds four items, tfInitials, cbQ, tfTypeCheck (hidden), and tfQ1. tfQ1 is a text field that allows multiple lines. All four start with a height of .3125in. When I set the subform to flowed, the items move to "top to bottom" order, and the subform changes height to .9375 (as I would expect). When I change the subform back to "Western text", the subform's height does not shrink back to .3125in. I would expect it to shrink back down since the subform does not need to be so large when the lines are running left-to-right.
    If I select the subform and go to the layout pallette, then type in the height I want, it reverts back to .9375in.
    If I click and drag the sizing box in the design view, it expands back to it's larger size.
    If I remove all but one field and change the subform to flowed, it still goes back to .9375!
    If I go to the docReady event for the subform and set the height with this.h = ".3125in"; the subform will not expand when the text field tfQ1 receives a long value (two or more lines).
    Any ideas about getting around this?

    I figured it out...
    I added another line to the docReady event, so now I have:
    this.h = ".3125in";
    this.maxH = "9in";

  • Is it possible to set a minimum height for a DIV container?

    Hello fellow developers,
    I wonder if it is possible to set a minimum height or a fixed height for a DIV container (P container, SPAN conrainer) like in HTML?
    Thank you!

    Thank you, Robin!
    But is it somehow possible to reserve a portion of space in the text flow so that later I can put a movie clip over this open space?
    (In HTML I would create a fixed dimension DIV element for this purpose and add its contents later.)

  • Minimum height for second facet in PanelSplitter.

    I am using af:panelSplitter with vertical orientation. Is it possible to specify a minimum height for the second facet so that the facet so that the splitter cant be moved down when the second facet have certain height.
    At present I can move the splitter till the bottom of the page so that the second facet disappears entirely.

    Hi,
    don't think there is a way to do this.
    Frank

  • How to set the row height for a list control in flex 4.5 for mobile?

    Hi,
      I have a List in my Adobe Flash Builder 4.5 and flex 4.5 mobile application. I show the image and the label in my list. The list item height gets adjusted based on the image height. I don't want this auto row adjustment. Instead I would like to set the row height manually.
    Is there any property to set the item height in a list?

    setting rowHeight in the List layout works for me.
    <s:List>
    <s:layout>
    <s:VerticalLayout rowHeight="48"/>
    </s:layout>
    </s:List>

  • How to set the variable height for TileLayout

    Hi,
    I am using TileLayout in  <s:List> component . TileLayout takes the maximum height of the children and draw the same height for rest of the children in all rows. Instead, I want to have all the rows with various heights if their children have different heights.
    I know there is variable height property in <mx:List> component but which is not there in its spark counterpart. Can you please help me with this issue??
    Thanks,
    Bhoja

    The spark TileLayout class lays out all of its elements in equally sized "cells".  Cells of variable sizes is not currently supported.

  • Minimum height for main window

    Hi
    I am having a table with datas in my main window and a seperate footer(not table footer) which has to be dispalyed at the end of the page and both with borders. My problem is that when there is few data the box of main window is not touching the box of footer. It will display as 2 seperate boxes. I have tried providing minimum height to tables. But did not helped. Please suggest me a solution.
    Thanks in advance,
    Regards
    Sathar

    Hi Sathar,
    In FORM PAINTER u just join the borders of the main window and the footer.
    so that i will display both joined even if the data is more aor less.
    Best regards,
    raam

  • Any option to set 'Password minimum age'  for EBS user

    Hi,
    Do we have any option in Oracle apps to set the password minimum age? (eg. a password once reset successfully cannot be changed again within a 24 hour window)
    Regards,
    Vijay

    Hi;
    Please check below and see its helpful:
    Subject: Unable to Change Password when Password Policy Set to Min Age 1 and Next Logon Also Set . Doc ID: 752040.1
    Re: Password policy in Oracle E-Business suite - Financials
    http://oraclever.blogspot.com/2009/05/password-policies-in-oracle-e-business.html
    Regard
    Helios

  • Set Minimum amount for non LVA  Asset Class

    Dear all,
    Is it possible to set a minimum amount for asset classes other LVA asset class?
    Thanks & regards.

    Dear Jay,
    I didn't see a configuration setting to set the minimum amount for asset class even for LVA asset class - in LVA asset class we will specify the maximum amount only not the minimum amount. 
    I think through SAP standard setting this is not possible and may require some enhancements for this.
    Regards,
    Kiran Yelamarthi

  • How to set a minimum size of a JFrame

    hi freinds,
    i have written a swing application which starts like this ,
    public class workerclass extends JFrame implements ActionListener {
    blah blah blah ..
    now can you please tell me how to set a minimum size for this application once it starts so that user cant minimize it more than that minimum size.....
    when i tried
    setDefaultLookAndFeelDecorated(true);
    it did my job by setting it to a particular size which wasnt minimizable, but this default look and feel looked ugly.
    so i used system look and feel
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    but with this how do i set the minimum size..
    please do help
    and one thing more , like
    in my main Method when i say
    new workerclass().setSize(500,500); or say(100,100) or say(300,300)
    new workerclass().setVisible(true);
    the size (***,***) , doesnt reflect when my application starts, it always starts with some damn fixed size , what can be the issue .
    waiting.........
    Thanks

    how do i set my Jrame to a minimum size so that
    minimizing beyond that can be restrictedThis is what the code is all about
    don't know your code but ..
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class workerclass extends JFrame implements
    ActionListener,ComponentListener {
    public void initcomponenet()
    setJMenuBar();
    pack();
    addComponentListener(this);
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new myclass.setSize(500,500);
    new myclass().setVisible(true);
    public void componentShown(ComponentEvent e)
         public void componentResized(ComponentEvent e)
              if(getWidth()<200)//restrict width to minimum 200
                   setSize(200,getHeight());
    if(getHeight()<100)//restrict Height to minimum
    um 100
                   setSize(getWidth(),100);
         public void componentMoved(ComponentEvent e)
         public void componentHidden(ComponentEvent e)
    Thanks kanad , your code is working ... you desere lot more than a duke dollar but for now i can only give that :-( , please accept it :-)

  • Can you set a minimum width?

    Is there any way to set a minimum width for any point on the image that you're producing or already produced?

    Illustrator does not hava a find the stroke with the smallest width command, so you will have to locate that manually. Suppose the line you find is 1mm thick. You would scale all your artowrk 150% with scale strokes & effects on. Then double click on scale tool and turn off scale strokes and effects and enter 66.67%
    Your result will be all your strokes will be 150% their original size.
    Now if your artwork has nto storkes, you will have to add strokes to the atrwork to fatten everythign up for silk screen.
    Also if you want to just change all your 1. mm strokes to 1.5, you can select an element with a 1.0 mm stroke, use select >> same stroke  Weight , and then change the width to 1.5mm.

  • Dynamic row heights for NSTableView

    Hi everyone,
    I just began writing OSX apps not too long ago. I'm having trouble with dynamically setting my row heights for an NSTableView. I've seen a really old solution where the subclass the view but I also found a solution posted by Corbin on Stack Overflow. However, I don't quite understand and am hoping someone has sample code?
    For my usecase, I have a list of text of varying lengths and are displayed in a multi-line text field. The rows for the table cut off the text and so I'm trying to resize them to fit the text. When I check on the setRowSizeStyle to custom - it defaults to 71 and is fixed at 71. I hope someone can help me out. I think the solution posted by Corbin should solve my problem but I have no idea how to implement it.
    Thanks

    Etresoft, the function that you gave me for some reason constantly calculates the height as 39. Minus the fudge factor of 25 means I'm constantly getting 14 for my height for all rows and some of the text is cut off. I think it might be because I'm passing in the wrong size into my NSTextContainer.
    Here's my code right now:
    - (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger)row
        Message *message = [thread objectAtIndex:row];
        NSTableColumn *tableColoumn = [conversationView
                                       tableColumnWithIdentifier:@"tableColumn"];
        if (tableColoumn)
            NSCell *dataCell = [tableColoumn dataCell];
            [dataCell setWraps:YES];
            [dataCell setStringValue:message.message];
            CGFloat height = [self calculateIdealHeightForSize:[dataCell cellSize] content:message.message];
            NSLog(@"Message: %@ Height: %f", message.message, height);
            return height;
        NSLog(@"No size found. Returning default size for 100.");
        return 100;
    - (CGFloat) calculateIdealHeightForSize: (NSSize) size content: (NSString *) content
        NSTextStorage * storage =
        [[NSTextStorage alloc] initWithAttributedString:[[NSAttributedString alloc] initWithString: content ]];
        NSTextContainer * container =
        [[NSTextContainer alloc] initWithContainerSize: size];
        NSLayoutManager * manager = [[NSLayoutManager alloc] init];
        [manager addTextContainer: container];
        [storage addLayoutManager: manager];
        [manager glyphRangeForTextContainer: container];
        NSRect idealRect = [manager usedRectForTextContainer: container];
        // Include a fudge factor.
        return idealRect.size.height + 25;

  • How to set a minimum width and height for a stage or scene?

    Hello,
    Does anyone how to set a minimum width and height for a stage or scene?
    I tried listening for width/height property value changes and then adjust the width/height if necessary, but that causes unpleasant flickering of the window.
    In JavaFX 2.1 beta SDK for Mac OS, the Stage class has setMinWidth() and setMinHeight() functions which work very well.
    I'm wondering what's the equivalent way to do that when using the FX SDK for Windows.
    Any help is appreciated!
    Thanks.

    I was wondering how to enforce a minimum stage size with JavaFX 2.0.3.The same flickering way you are currently doing it. See: http://javafx-jira.kenai.com/browse/RT-15200 "Need a way to set the minimum size of a window"

  • How to set minimum height size for an empty XML Form iview

    Hi,
    I'm trying to configure the minimum height size of an XML Form iview without sucess. Even when there is no content to show, iview height size is around 80 pixels. When there is content the automatic configuration works fine and the iview is resized properly.
    The iview has automatic size and the minimum size for automatic is with 5 pixels...
    Any ideas?
    Thanks,
    Marcelo

    Hi,
    I'm trying to configure the minimum height size of an XML Form iview without sucess. Even when there is no content to show, iview height size is around 80 pixels. When there is content the automatic configuration works fine and the iview is resized properly.
    The iview has automatic size and the minimum size for automatic is with 5 pixels...
    Any ideas?
    Thanks,
    Marcelo

  • Subform minimum height property minH not working

    Hi,
    I am trying to set the minH property of a subform, so that it is always the same size as the content area that it is sitting in.  This is because it has a border around it - I want the resulting box to be the same size regardless of whether the table data fills it up or not.  However this is having no effect - when I have less than one subform's worth of data the box is still shrinking.
    I can specify the subform as Positioned, with a height of 12cm.  This does the job when there is only one page of data, but when the table overflows onto the second page, the subform (including border) is still fixed at 12cm when I want it to potentially stretch down the whole page (20cm).
    In the Subform Form Ready event I have the following Javascript:
    this.minH = "12cm";
    What I was hoping would happen is that the subform would always display a minimum of 12cm on the first page, and on the subsequent pages it would be at least 12cm and expandable up to the maximum content area height of 20cm.
    I am using LCD ES version 8.
    Thanks,
    Vindaloo

    Robert Phelan wrote:
    why don't you just put a border on the subform itself?
    I already have a border around the subform - the problem was that it shrinks with the data, when I want it to be a fixed size on the first page and expandable on subsequent pages.
    The minH property seemed to be exactly what I was looking for, except that it had no effect whatsoever.
    Anyway, I have solved the problem by putting a fixed rectangle of the required size on each master page, rather than trying to use a variable height border around the subform in the Design view.
    Thanks,
    Vindaloo

Maybe you are looking for

  • Networking with PC

    I am trying to share files and printers with Windows XP from my iBook G4. I have both firewalls off, windows sharing on, and neither computer can find the other. I am using a D-Link router to connect the iBook wirelessly, but I have also cabled strai

  • Can't modify SMB configuration

    Hi, I just updated my Server from 10.4.x to 10.5.x. However, I have a problem with Windows users login. Windows can't access user's files after successful authentication. After some tries I discovered that every user can access newer sharepoints, but

  • SP return parameters in select statment

    how is it possible to return SP parameters(north, east etc) in select query under SP your help is appreciated.

  • User folders and password file

    How do I copy all the user folders and the users' passwords from ServerA to ServerB? Both are running Solaris 10.

  • Can I get rid of all email at once?

    Overview of inboxes shows 400+ unread emails. When I open mailbox it shows "No mail". How do I get rid of these ghosts?