Radiobuttons Border

How do I put a border around a group of related radio buttons?
I want to create a frame to act as a container for better viewing.
Thanks.

You're not allowed to change the visual object properties in static forms. The behavior you're seeing in the static form is actually not supposed to happen, oddly enough you should probably report that as a bug. The only way I can think of to get the behavior you want, where only the circle on the radio button changes color, is in the sample I've posted below.

Similar Messages

  • Problem with html table and htmlb radiobutton group

    Hello,
    I wrote this code:
           <table width="100%" border="1">
            <tr>
              <th>
                Valutazione manageriale complessiva dell#anno
              </th>
              <th>1</th>
              <th>2</th>
              <th>3</th>
            </tr>
            <tr>
              <th>
                imprenditività
              </th>
              <htmlb:radioButtonGroup id="PROVA1"
                                       columnCount="3"
                                        mode="LOGICAL_GROUPING">
              <th><htmlb:radioButton id="1" text="1"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="2" text="2"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="3" text="3"  encode="TRUE"/></th>
              </htmlb:radioButtonGroup>
            </tr>
            <tr>
              <th>
                Autorevolezza
              </th>
              <htmlb:radioButtonGroup id="PROVA2"
                                       columnCount="3"
                                        mode="LOGICAL_GROUPING">
              <th><htmlb:radioButton id="1" text="1"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="2" text="2"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="3" text="3"  encode="TRUE"/></th>
              </htmlb:radioButtonGroup>
            </tr>
          </table>
    but the third row (where there is "Autorevollezza/PROVA2") appears out of the table.
    Do yuo now why?
    Regards
    Maria

    you need to put the htmlb:radioButtonGroup Tags within the
    tags
    <tr>
    <td>
    imprenditività
    </td>
    <td>
        <htmlb:radioButtonGroup id="PROVA1" columnCount="3" mode="LOGICAL_GROUPING">
        <htmlb:radioButton id="1" text="1" encode="TRUE"></htmlb:radioButton></td>
    <td><htmlb:radioButton id="2" text="2" encode="TRUE"></htmlb:radioButton></td>
    <td><htmlb:radioButton id="3" text="3" encode="TRUE"></htmlb:radioButton>
         </htmlb:radioButtonGroup></td>
    </tr>
    there is a invisible table rendered by htmlb and the browser does not know what to do when you put that between </tr> and </table> so he ends your table...
    better you use <htmlb:gridLayout> instead of html-tables...
    stefan

  • Urgent Please help RadioButton + Jsp

    I am doing an project named an online exam.
    I have various questions say about 10 questions.And there are 4 radiobutton are given as option.In the next page I want to retrive the answers clicked by the user for each of the question.I am getting the values from the database ie, the questions and answers(the options)
    The code for the first page
    <%@ page language="java"%><%@ page import="java.sql.*,java.io.*,java.util.*,javax.servlet.*"%>
    <%@ include file="dbconnection.jsp"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 1</title>
    <script language="javascript">
    function insertproduct()
    window.location="dbquestion.jsp";
    </script>
    </head>
    <%!
    String qid,ans1,ans2,ans3,ans4;
    %>
    <body>
    <%
    String id=request.getParameter("id");
    String str="select * from qa_bank where TOPIC_ID='"+id+"'";
    PreparedStatement ps=con.prepareStatement(str);
    ResultSet rs=ps.executeQuery();
    %>
    <p> </p>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
    <%
    while(rs.next())
    qid=rs.getString(1);
    ans1=rs.getString("ANSWER1");
    ans2=rs.getString("ANSWER2");
    ans3=rs.getString("ANSWER3");
    ans4=rs.getString("ANSWER4");
    %>
    <form name="frm">
    <tr>
    <td width="100%"><%=rs.getString("QUESTION")%> </td>
    </tr>
    <td width="100%">
    </td>
    </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
    <tr>
    <td width="50%"><input type="radio" value="<%=ans1%>" name="R1"><%=rs.getString("ANSWER1")%></td>
    <td width="50%"><input type="radio" value="<%=ans2%>" name="R1"><%=rs.getString("ANSWER2")%></td>
    </tr>
    <tr>
    <td width="50%"><input type="radio" value="<%=ans3%>" name="R1"><%=rs.getString("ANSWER3")%></td>
    <td width="50%"><input type="radio" value="<%=ans4%>" name="R1"><%=rs.getString("ANSWER4")%></td>
    </tr>
    <tr>
    <td width="50%"> </td>
    <td width="50%"> </td>
    </tr>
    </table>
    </form>
    <%}%>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
    <tr>
    <p> </p>
    <td><p align="center">SUBMIT</p>
    </td>
    </tr>
    </body>
    </html>
    Could anybody help me in giving the code for next page,ie to get the values clicked by user for each questions.
    My mail id is [email protected]
    I expect response from all as early as possible.
    Thank u

    Hi,
    You are using name id
    String id=request.getParameter("id");
    ,but in your code actual name is R1
    "><input type="radio" value="<%=ans1%>" name="R1"><%=rs.getString("ANSWER1")%></td>

  • RadioButtons in WAD to open different reports

    Hi
    I have a R/3-report . My Client wants same report in the BI-Environment.
    It contains Three Radio Buttons and when the user open first radibutton then he/she needs to get the one type of report .
    And when the user open another radiobutton then he/she needs to get one type of report.
    So how can we generate like this report in the WEB APPLICATION DESIGNER.
    Regards
    kumar

    Hi,
    Here is an example of how to use a button to execute a web template:
    Hyperlink behind pushbutton
    <table><tr><td class="SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0"><tr><td>
    <table><tr><td class="sapbexbtnstd" ><a href="<SAP_BW_URL cmd='LDOC' TEMPLATE_ID='EXAMPLE_TEMPLATE'>" target="_Blank">Call Example Template in Separate Window</a></td></tr></table>
    </td></tr></table>
    You can also look for more examples at the reference link below:
    http://help.sap.com/saphelp_nw04/helpdata/EN/b4/0fa239cec06b40e10000000a11402f/content.htm

  • Datatable radiobutton issue

    Hi I have a page with multiple datatables that are shown based on some condition. At any given point only on edatatable is visisble and the rest are hidden. I have radiobuttons in one of the columns. The problem is that radio button selection is not working properly. The problem is selecting one radio button does not unselect the previously selected button: Here is the javascript I have:
    <script>
                        function dataTableSelectOneRadio(radio) {
                             var id = radio.name.substring(radio.name.lastIndexOf(':'));
                             var el = radio.form.elements;
                             for (var i = 0; i < el.length; i++) {
                                  if (el.name.substring(el[i].name.lastIndexOf(':')) == id) {
                                       el[i].checked = false;
                             radio.checked = true;
                   </script>
    Here is the partial jsp code:
    <h:dataTable value="#{reqbean.listOne}"
                                         var="varlistOne" border="0"
                                         id="table1" width="777"
                                         headerClass="header"
                                         rowClasses="evenRow, oddRow"
                                         columnClasses="firstColumn,secondColumn,thirdColumn"
                                         binding="#{reqbean.dataTable1}"
                                         rendered="#{reqbean.flagBtn}">
                              <h:column>                           
                                <h:selectOneRadio valueChangeListener="#{reqbean.setSelectedItem}" onchange="dataTableSelectOneRadio(this);"><f:selectItem itemValue="null" /></h:selectOneRadio>
                              </h:column>
                                    Some more columns
                            </h:dataTable>
                            <h:dataTable value="#{reqbean.listTwo}"
                                         var="varlistTwo" border="0" id="table2"
                                         headerClass="header" width="777"
                                         rowClasses="evenRow, oddRow"
                                         columnClasses="firstColumn,secondColumn,thirdColumn"
                                         binding="#{reqbean.dataTable2}"
                                         rendered="#{reqbean.flagBtn2}">
                              <h:column>
                                <h:selectOneRadio valueChangeListener="#{reqbean.setSelectedItem}" onchange="dataTableSelectOneRadio(this);"><f:selectItem itemValue="null" /></h:selectOneRadio>
                              </h:column>
                                    Some more columns
                            </h:dataTable>Thanks

    Do you understand what the Javascript is doing? Check the client ID's of your form and radio button elements in the HTML source.

  • RadioButton + JSP

    I am doing an project named an online exam.
    I have various questions say about 10 questions.And there are 4 radiobutton are given as option.In the next page I want to retrive the answers clicked by the user for each of the question.I am getting the values from the database ie, the questions and answers(the options)
    The code for the first page
    <%@ page language="java"%><%@ page import="java.sql.*,java.io.*,java.util.*,javax.servlet.*"%>
    <%@ include file="dbconnection.jsp"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 1</title>
    <script language="javascript">
    function insertproduct()
    window.location="dbquestion.jsp";
    </script>
    </head>
    <%!
    String qid,ans1,ans2,ans3,ans4;
    %>
    <body>
    <%
    String id=request.getParameter("id");
    String str="select * from qa_bank where TOPIC_ID='"+id+"'";
    PreparedStatement ps=con.prepareStatement(str);
    ResultSet rs=ps.executeQuery();
    %>
    <p> </p>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
    <%
    while(rs.next())
    qid=rs.getString(1);
    ans1=rs.getString("ANSWER1");
    ans2=rs.getString("ANSWER2");
    ans3=rs.getString("ANSWER3");
    ans4=rs.getString("ANSWER4");
    %>
    <form name="frm">
    <tr>
    <td width="100%"><%=rs.getString("QUESTION")%> </td>
    </tr>
    <td width="100%">
    </td>
    </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
    <tr>
    <td width="50%"><input type="radio" value="<%=ans1%>" name="R1"><%=rs.getString("ANSWER1")%></td>
    <td width="50%"><input type="radio" value="<%=ans2%>" name="R1"><%=rs.getString("ANSWER2")%></td>
    </tr>
    <tr>
    <td width="50%"><input type="radio" value="<%=ans3%>" name="R1"><%=rs.getString("ANSWER3")%></td>
    <td width="50%"><input type="radio" value="<%=ans4%>" name="R1"><%=rs.getString("ANSWER4")%></td>
    </tr>
    <tr>
    <td width="50%"> </td>
    <td width="50%"> </td>
    </tr>
    </table>
    </form>
    <%}%>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
    <tr>
    <p> </p>
    <td><p align="center">SUBMIT</p>
    </td>
    </tr>
    </body>
    </html>
    Could anybody help me in giving the code for next page,ie to get the values clicked by user for each questions.
    My mail id is [email protected]
    I expect response from all as early as possible.
    Thank u

    No one's going to mail you, you might as well make the effort to visit the forums after we make the effort to answer you :D
    You've already used request.getParameter() and so I guess you know what that does.
    That's your solution, getParameter("R1"). Figure out the rest, it's easy.

  • Set border visible/invisible

    Hi there. Could You tell me how to switch visibility of border component?
    I set it  invisible in screenpainter as default. then I want to show border during program.
            LOOP AT SCREEN .
            IF ( SCREEN-GROUP3 EQ 'SEL' ) .
              SCREEN-active = 1 .
              " or
              SCREEN-invisible = 0 .
              MODIFY SCREEN .
            ENDIF .
          ENDLOOP .
    has no effect.
    Do You know which property should I change to control border's visibility?

    Hi,
    Check the code
    code
    selection-screen begin of block processing with frame title text-030.
    selection-screen begin of line.
    selection-screen position 1.
    parameters pa_xmanu like rm08mrbr-manu default 'X'
    radiobutton group val modif id id1.
    selection-screen comment 3(30) text-040 for field pa_xmanu modif id id1. "<--- Here
    selection-screen position 40.
    parameters pa_xauto like rm08mrbr-auto
    radiobutton group val modif id id1.
    selection-screen comment 43(30) text-050
    for field pa_xauto modif id id1. "<--- Here
    selection-screen end of line.
    selection-screen begin of line.
    parameters: pa_xskto like rm08mrbr-skto as checkbox modif id id1.
    selection-screen comment 3(30) text-055
    for field pa_xskto modif id id1. "<--- Here
    selection-screen end of line.
    selection-screen end of block processing.
    at selection-screen output.
    loop at screen.
    if screen-group1 = 'ID1'.
    screen-active = 0.
    modify screen.
    endif.
    endloop.
    [/code]
    Reward for useful answers.
    Regards,
    Raj.

  • Cell border selection problem

    I have a spreadsheet that is a week at a glance schedule for a dance school. There are three columns per day, each representing a different studio location. Each row represents a 15 minute block time. I have been trying to create a border for each class (class times vary from 45 minutes to 2 hours) while leaving the in-between lines blank. For each 45 minute class, I select the three cells in a column, scroll down the border selection tool and select the outside border icon, next select the type of line, then the weight, finally the color, and so on. Once I get about 50% done working my way across the spreadsheet, buggy things start to happen. For example, a horizontal line will extend across several columns, sometimes intersecting previously defined class blocks. If I try removing the errand lines, then all the frames that do require a border at that position get their border errased. I them have to go back to those cells to re-assign a border segment, but then the unwanted horizontal line will reappear in the blank cells again. Very frustrating. Also, in my opinion, there are some cell frame options that are missing in this program. I t would be nice to have a button to select the top and bottom of a frame or group of frames at the same time. At present, you have to first select the top border, format it, then the bottom border and format it. Same goes for left and tight border sections. You can't select the two outside edges to apply the same style/thickness/color. Excel's border formatting commands are much better in this regard.
    Title was edited by: Host

    Hi Jim,
    I played around with the border options today and although I didn't have the borders going where they were not wanted I understand your frustration having to set either all four or just one border at a time.
    Just as an option, would filling the sets of cells with a light colour for each class work better for you?

  • GridBagLayout and Panel Border problem

    I have 3 panels like
    A
    B
    C
    and the C panel has a Mouse Listener that on a mouseEntered creates a border around the same panel and on a mouseExited clears that border.
    When this border is created the A and B panels go up a little bit .. they move alone when the border is created.
    Is there any way to fix this problem? Is there any way to get the panels static?
    the code is close to the following:
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    import javax.swing.BorderFactory;
    import javax.swing.border.Border;
    import javax.swing.border.TitledBorder;
    import java.awt.event.*;
    import java.text.NumberFormat;
    public class Game extends JFrame implements MouseListener
    JPanel game, options, top, down, middle;
    NumberFormat nf;
    public Game() {
    super("Game");
    nf = NumberFormat.getPercentInstance();
    nf.setMaximumFractionDigits(1);
    JPanel center = new JPanel(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.fill = gbc.BOTH;
    gbc.weighty = 1.0;
    gbc.weightx = 0.8;
    center.add(getGamePanel(), gbc);
    gbc.weightx = 0.104;
    center.add(getOptionsPanel(), gbc);
    Container cp = getContentPane();
    // use the JFrame default BorderLayout
    cp.add(center); // default center section
    this.setDefaultCloseOperation(EXIT_ON_CLOSE);
    this.setSize(700,600);
    // this.setResizable(false);
    setLocationRelativeTo(null);
    setVisible(true);
    addComponentListener(new ComponentAdapter()
    public void componentResized(ComponentEvent e)
    showSizeInfo();
    showSizeInfo();
    private void showSizeInfo()
    Dimension d = getContentPane().getSize();
    double totalWidth = game.getWidth() + options.getWidth();
    double gamePercent = game.getWidth() / totalWidth;
    double optionsPercent = options.getWidth() / totalWidth;
    double totalHeight = top.getHeight() + middle.getHeight() + down.getHeight();
    double topPercent = top.getHeight() / totalHeight;
    double middlePercent = middle.getHeight() / totalHeight;
    double downPercent = down.getHeight() / totalHeight;
    System.out.println("content size = " + d.width + ", " + d.height + "\n" +
    "game width = " + nf.format(gamePercent) + "\n" +
    "options width = " + nf.format(optionsPercent) + "\n" +
    "top height = " + nf.format(topPercent) + "\n" +
    "middle height = " + nf.format(middlePercent) + "\n" +
    "down height = " + nf.format(downPercent) + "\n");
    private JPanel getGamePanel()
    // init components
    top = new JPanel(new BorderLayout());
    top.setBackground(Color.red);
    top.add(new JLabel("top panel", JLabel.CENTER));
    middle = new JPanel(new BorderLayout());
    middle.setBackground(Color.green.darker());
    middle.add(new JLabel("middle panel", JLabel.CENTER));
    down = new JPanel(new BorderLayout());
    down.setBackground(Color.blue);
    down.add(new JLabel("down panel", JLabel.CENTER));
    // layout game panel
    game = new JPanel(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.weightx = 1.0;
    gbc.fill = gbc.BOTH;
    gbc.gridwidth = gbc.REMAINDER;
    gbc.weighty = 0.2;
    game.add(top, gbc);
    gbc.weighty = 0.425;
    game.add(middle, gbc);
    gbc.weighty = 0.2;
    game.add(down, gbc);
    down.addMouseListener(this);
    return game;
    private JPanel getOptionsPanel()
    options = new JPanel(new BorderLayout());
    options.setBackground(Color.pink);
    options.add(new JLabel("options panel", JLabel.CENTER));
    return options;
    // mouse listener events
         public void mouseClicked( MouseEvent e ) {
    System.out.println("pressed");
         public void mousePressed( MouseEvent e ) {
         public void mouseReleased( MouseEvent e ) {
         public void mouseEntered( MouseEvent e ) {
    Border redline = BorderFactory.createLineBorder(Color.red);
    JPanel x = (JPanel) e.getSource();
    x.setBorder(redline);
         public void mouseExited( MouseEvent e ){
    JPanel x = (JPanel) e.getSource();
    x.setBorder(null);
    public static void main(String[] args ) {
    Game exe = new Game();
    exe.show();
    }

    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.event.*;
    import java.text.NumberFormat;
    public class Game extends JFrame implements MouseListener{
      JPanel game, options, top, down, middle;
      NumberFormat nf;
      public Game() {
        super("Game");
        nf = NumberFormat.getPercentInstance();
        nf.setMaximumFractionDigits(1);
        JPanel center = new JPanel(new GridBagLayout());
        GridBagConstraints gbc = new GridBagConstraints();
        gbc.fill = gbc.BOTH;
        gbc.weighty = 1.0;
        gbc.weightx = 0.8;
        center.add(getGamePanel(), gbc);
        gbc.weightx = 0.104;
        center.add(getOptionsPanel(), gbc);
        Container cp = getContentPane();
        // use the JFrame default BorderLayout
        cp.add(center); // default center section
        this.setDefaultCloseOperation(EXIT_ON_CLOSE);
        this.setSize(700,600);
        // this.setResizable(false);
        setLocationRelativeTo(null);
        setVisible(true);
        addComponentListener(new ComponentAdapter(){
            public void componentResized(ComponentEvent e){
            showSizeInfo();
        showSizeInfo();
      private void showSizeInfo(){
        Dimension d = getContentPane().getSize();
        double totalWidth = game.getWidth() + options.getWidth();
        double gamePercent = game.getWidth() / totalWidth;
        double optionsPercent = options.getWidth() / totalWidth;
        double totalHeight = top.getHeight() + middle.getHeight() + down.getHeight();
        double topPercent = top.getHeight() / totalHeight;
        double middlePercent = middle.getHeight() / totalHeight;
        double downPercent = down.getHeight() / totalHeight;
        System.out.println("content size = " + d.width + ", " + d.height + "\n" +
            "game width = " + nf.format(gamePercent) + "\n" +
            "options width = " + nf.format(optionsPercent) + "\n" +
            "top height = " + nf.format(topPercent) + "\n" +
            "middle height = " + nf.format(middlePercent) + "\n" +
            "down height = " + nf.format(downPercent) + "\n");
      private JPanel getGamePanel(){
        // init components
        top = new JPanel(new BorderLayout());
        top.setBackground(Color.red);
        top.add(new JLabel("top panel", JLabel.CENTER));
        middle = new JPanel(new BorderLayout());
        middle.setBackground(Color.green.darker());
        middle.add(new JLabel("middle panel", JLabel.CENTER));
        down = new JPanel(new BorderLayout());
        down.setBackground(Color.blue);
        down.add(new JLabel("down panel", JLabel.CENTER));
        // layout game panel
        game = new JPanel(new GridBagLayout());
        GridBagConstraints gbc = new GridBagConstraints();
        gbc.weightx = 1.0;
        gbc.fill = gbc.BOTH;
        gbc.gridwidth = gbc.REMAINDER;
        gbc.weighty = 0.2;
        game.add(top, gbc);
        gbc.weighty = 0.425;
        game.add(middle, gbc);
        gbc.weighty = 0.2;
        game.add(down, gbc);
        down.addMouseListener(this);
        return game;
      private JPanel getOptionsPanel(){
        options = new JPanel(new BorderLayout());
        options.setBackground(Color.pink);
        options.add(new JLabel("options panel", JLabel.CENTER));
        return options;
      public void mouseClicked( MouseEvent e ) {
        System.out.println("pressed");
      public void mousePressed( MouseEvent e ) {
      public void mouseReleased( MouseEvent e ) {
      public void mouseEntered( MouseEvent e ) {
        Border redline = new CalmLineBorder(Color.red);
        JPanel x = (JPanel) e.getSource();
        x.setBorder(redline);
      public void mouseExited( MouseEvent e ){
        JPanel x = (JPanel) e.getSource();
        x.setBorder(null);
      public static void main(String[] args ) {
        Game exe = new Game();
        exe.setVisible(true);
    class CalmLineBorder extends LineBorder{
      public CalmLineBorder(Color c){
        super(c);
      public CalmLineBorder(Color c, int thick){
        super(c, thick);
      public CalmLineBorder(Color c, int thick, boolean round){
        super(c, thick, round);
      public Insets getBorderInsets(Component comp){
        return new Insets(0, 0, 0, 0);
    }

  • How to add a JPanel with label and border line

    hi,
    I want a Jpanel with label and border line like this.Inside it i need to have components.Is there a resuable component to bring this directly??
    Any solution in this regards.???
    Label-----------------------------------------------------------
    | |
    | |
    | |
    | |
    | |
    |________________________________________ |

    [url http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html]How to Use Borders

  • Hp deskjet 1510 does not print photo without border.

    I am using Hp deskjet 1510 printer and my operating system is windows 7 ultimate. when i tried to print photo with full pages of A4 size paper without border but it doesn't print without border. so i need assist to solve this issue.
    thanks.

    Hello there! Welcome to the forums @horda ,
    I read about how you are trying to borderless print on A4 size media and it's not working out so well. After checking the printer specifications (below), you can see that this model of printer does not support borderless printing.
    I hope that helps clear up your concern!
    Have a fantastic day
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Adding border text in Print Module

    I'd like to see the text annotation enhanced in the Print Module to be able to locate text along any border edge, using any system font. This would enable to add creative text to fine art prints.

    Macro Details wrote:
    This can easely acomplished with a script.
    Could you please elaborate a bit?
    Fiddling with the .lrtemplate print template file, I only managed to set a font size outside LR-proposed values (variable metadataFontSize), but couldn't find a way to change the font or placement.

  • Photoshop: Making a text box with color or border.

    How do you fill a text box in Photoshop?
    Answer: You CAN’T.
    Solution:  You CAN do anything you want in Photoshop -we know it’s GREAT - but the steps are not always so easy.  See below for solutions to making it seem that the text box is filled with color, bordered, semi-tansparent etc.
    In Photoshop, a text box is mostly about the text inside and less about the box that surrounds it.  In other words, the box is always transparent and all effects apply to the font shapes typed inside by the user.  Photoshop (CS4) can produce incredible, professional, amazing text images. No Doubt About It!
    A Photoshop text box can display one of two types of bounding boxes: 
    Its OBJECT bounding box is there for moving the whole text layer, rotating it, duplicating it and distorting.  Clicking once on the text layer pallet and selecting the move tool (v) will produce this bounding box.  The direct selection tool (a) won’t recognize it.  Note:  If you try to resize the box as an object, it also distorts/stretches the text inside.  This can make cool effects but usually you want the text to stay the way the font was designed.  See: Layers>Type>Warp Text.
    The TEXT bounding box is there for highlighting, re-typing and selecting the margins of the actual text/paragraph etc.  Selecting the text tool and clicking over existing text will produce this bounding box.
    Some features are accessible in either mode.
    The Photoshop text tool has two types of cursors:
    The NEW text box cursor looks like a text insertion cursor (often seen in word processing) WITH a dotted box around it.
    To produce the new text box cursor just select the text tool and move over to a new work area.
    The EDIT text cursor looks very much like the ordinary cursor people are familiar with (no dotted box). 
    To produce the edit text tool, hover the text tool over EXISTING text and the cursor changes to the simple insertion shape (without the dotted box).  A click now will put you into text editing mode, not new text box mode.  This drove me batty for a while because I was used to clicking anywhere inside an existing text box and the blinking cursor would pop in automatically - usually at the end of the last letter.  This doesn’t happen in Photoshop; if that NEW text box tool is active, it will try to place a new box anywhere you click sometimes overlapping another.
    When in this mode (edit existing text) you can carefully hover the arrow to the edges of the text box and resize the bounding box without altering the shape of the text itself.  This is how you make the text box larger or smaller to fit/accommodate your needs.  You can also highlight text, insert between words/letters.  Highlighted text is available for changing its font, color, size, cutting/pasting etc. 
    To get OUT of the EDIT text mode, click the check box on the tool column above or type enter (not return) or type cmd-return (MAC), ctrl-return (WIN).  If you want to cancel any changes to an existing text box click the ex-circle on the tool column or press the esc key (top left of keyboard-escape key)
    OK, THE MAIN POINT:
    To make an effect that looks like a text box that is filled, bordered, semi-transparent etc., you will have to create an object shape (box) and place it just behind (under) the text box.  Linking the two allows you to move them around easily.  The drawback is that, when you need a larger box, you’ll have to alter the size of both boxes and possibly re-center them to each other (I know it’s sort of dumb to have so many steps just to get a shaded text box or bordered one.)
    Begin by selecting the Rectangle shape tool and draw a shape on the screen of any size.  In the layers pallet a layer is created with two items (layer thumbnail and vector mask) Double click the one on the left the layer thumbnail).  Change its color to a light one such as baby blue or yellow.
    Now select the text tool and click once over that shape.  A text box is created exactly the same size of the rectangle (any shape will work too).
    Type some text into that box and change the font type, size and color to something you might use regularly.  Check to see that the text color is black (can be changed later).  The text automatically wraps around when you reach the edge of this box and fits well (inside margins can be altered by pixel later).
    Now link the two boxes to one another.  Shift-click each layer in the layers pallet to select both and choose the link button at the bottom of the window for layers or go to Layers>Link Layers.  Now when you move one it will move the other too!
    Using the paragraph tools you can center text, indent first line, and add space between paragraphs.  Except the first paragraph seems too close to the top of the colored rectangle; doesn’t it?  Photoshop won’t add extra leading (horizontal space) between the text box and the top of the first paragraph.
    There are two ways to fix this:
    1.     Select the text tool and click inside the existing text then hover the pointer just above the little box/tab in the top center of that rectangle and bring it down just a bit.
    2.     Or you could unlink the two layers (to unlink just click link again while one of the two layers is selected in pallet) and move the colored rectangle up just a bit.
    In the first instance it was not necessary to unlink the boxes.  This is the advantage because altering the colored rectangle without unlinking will distort your text as will altering the text box if you are not in object text mode (see intro.)
    Ok, some advantages:
    Now that you have this set up you can use the background box (colored rectangle) to make other effects.  Select it as a separate layer but you won’t have to unlink it.  To make the box semi-transparent change either the layer OPACITY or the layer FILL (found in the layer pallet).
    To create a border box:
    1.     Select the colored rectangle box and under Layers>Styles>Blending Options (or just double click in an open area of the layer pallet for that shape.)
    2.     Select Stroke, change:  Fill Type color, Color black, Size 4, Position inside, Blend Mode normal, Opacity 100%. Click OK/Apply
    3.     Back in the layer pallet, change the Fill to 0% and you will just have a border with attached text box.  You may have to alter the inside text box again depending on the thickness of that border especially if you made the Position to be inside to keep the sharpness of the rectangle.
    4.     Yes this will work with other shapes and even custom shapes.  Remember to draw the shape first and immediately place a new text box over it BEFORE any other alteration is done.  This ensures that Photoshop creates a text box exactly the same size/dimension of your chosen shape.  It even makes margins fit irregular shapes like triangles.
    5.     Try it!

    Toxic Cumquat wrote:
    How do you fill a text box in Photoshop?
    Answer: You CAN’T.
    Solution:  You CAN do anything you want in Photoshop -we know it’s GREAT - but the steps are not always so easy.  See below for solutions to making it seem that the text box is filled with color, bordered, semi-tansparent etc.
    In Photoshop, a text box is mostly about the text inside and less about the box that surrounds it.  In other words, the box is always transparent and all effects apply to the font shapes typed inside by the user.  Photoshop (CS4) can produce incredible, professional, amazing text images. No Doubt About It!
    A Photoshop text box can display one of two types of bounding boxes: 
    Its OBJECT bounding box is there for moving the whole text layer, rotating it, duplicating it and distorting.  Clicking once on the text layer pallet and selecting the move tool (v) will produce this bounding box.  The direct selection tool (a) won’t recognize it.  Note:  If you try to resize the box as an object, it also distorts/stretches the text inside.  This can make cool effects but usually you want the text to stay the way the font was designed.  See: Layers>Type>Warp Text.
    The TEXT bounding box is there for highlighting, re-typing and selecting the margins of the actual text/paragraph etc.  Selecting the text tool and clicking over existing text will produce this bounding box.
    Some features are accessible in either mode.
    The Photoshop text tool has two types of cursors:
    The NEW text box cursor looks like a text insertion cursor (often seen in word processing) WITH a dotted box around it.
    To produce the new text box cursor just select the text tool and move over to a new work area.
    The EDIT text cursor looks very much like the ordinary cursor people are familiar with (no dotted box). 
    To produce the edit text tool, hover the text tool over EXISTING text and the cursor changes to the simple insertion shape (without the dotted box).  A click now will put you into text editing mode, not new text box mode.  This drove me batty for a while because I was used to clicking anywhere inside an existing text box and the blinking cursor would pop in automatically - usually at the end of the last letter.  This doesn’t happen in Photoshop; if that NEW text box tool is active, it will try to place a new box anywhere you click sometimes overlapping another.
    When in this mode (edit existing text) you can carefully hover the arrow to the edges of the text box and resize the bounding box without altering the shape of the text itself.  This is how you make the text box larger or smaller to fit/accommodate your needs.  You can also highlight text, insert between words/letters.  Highlighted text is available for changing its font, color, size, cutting/pasting etc. 
    To get OUT of the EDIT text mode, click the check box on the tool column above or type enter (not return) or type cmd-return (MAC), ctrl-return (WIN).  If you want to cancel any changes to an existing text box click the ex-circle on the tool column or press the esc key (top left of keyboard-escape key)
    OK, THE MAIN POINT:
    To make an effect that looks like a text box that is filled, bordered, semi-transparent etc., you will have to create an object shape (box) and place it just behind (under) the text box.  Linking the two allows you to move them around easily.  The drawback is that, when you need a larger box, you’ll have to alter the size of both boxes and possibly re-center them to each other (I know it’s sort of dumb to have so many steps just to get a shaded text box or bordered one.)
    Begin by selecting the Rectangle shape tool and draw a shape on the screen of any size.  In the layers pallet a layer is created with two items (layer thumbnail and vector mask) Double click the one on the left the layer thumbnail).  Change its color to a light one such as baby blue or yellow.
    Now select the text tool and click once over that shape.  A text box is created exactly the same size of the rectangle (any shape will work too).
    Type some text into that box and change the font type, size and color to something you might use regularly.  Check to see that the text color is black (can be changed later).  The text automatically wraps around when you reach the edge of this box and fits well (inside margins can be altered by pixel later).
    Now link the two boxes to one another.  Shift-click each layer in the layers pallet to select both and choose the link button at the bottom of the window for layers or go to Layers>Link Layers.  Now when you move one it will move the other too!
    Using the paragraph tools you can center text, indent first line, and add space between paragraphs.  Except the first paragraph seems too close to the top of the colored rectangle; doesn’t it?  Photoshop won’t add extra leading (horizontal space) between the text box and the top of the first paragraph.
    There are two ways to fix this:
    1.     Select the text tool and click inside the existing text then hover the pointer just above the little box/tab in the top center of that rectangle and bring it down just a bit.
    2.     Or you could unlink the two layers (to unlink just click link again while one of the two layers is selected in pallet) and move the colored rectangle up just a bit.
    In the first instance it was not necessary to unlink the boxes.  This is the advantage because altering the colored rectangle without unlinking will distort your text as will altering the text box if you are not in object text mode (see intro.)
    Ok, some advantages:
    Now that you have this set up you can use the background box (colored rectangle) to make other effects.  Select it as a separate layer but you won’t have to unlink it.  To make the box semi-transparent change either the layer OPACITY or the layer FILL (found in the layer pallet).
    To create a border box:
    1.     Select the colored rectangle box and under Layers>Styles>Blending Options (or just double click in an open area of the layer pallet for that shape.)
    2.     Select Stroke, change:  Fill Type color, Color black, Size 4, Position inside, Blend Mode normal, Opacity 100%. Click OK/Apply
    3.     Back in the layer pallet, change the Fill to 0% and you will just have a border with attached text box.  You may have to alter the inside text box again depending on the thickness of that border especially if you made the Position to be inside to keep the sharpness of the rectangle.
    4.     Yes this will work with other shapes and even custom shapes.  Remember to draw the shape first and immediately place a new text box over it BEFORE any other alteration is done.  This ensures that Photoshop creates a text box exactly the same size/dimension of your chosen shape.  It even makes margins fit irregular shapes like triangles.
    5.     Try it! Or try using Indesign!
    There. I fixed that for you.

  • How to get the values of a multiple radiobutton selection?

    Hi. I have the next region source:
    FOR c1 IN(SELECT rownum, ttexto_opcion, id_item FROM tb_opciones where id_prueba=:p_id_prueba) LOOP
    HTP.P(APEX_ITEM.radiogroup(1,c1.ttexto_opcion,1)||c1.ttexto_opcion);
    END LOOP;
    That query returns a list of records, group by id_item. For example:
    Option A Option B Option C (id_item=1)
    Option A1 Option B1 Option C1 (id_item=2)
    Option A2 Option B2 Option C2 (id_item=3)
    Option A3 Option B3 Option C3 (id_item=4)
    Imagine that this values has a radiobutton right next to them.
    Now, imagine that the user selected Option A, Option B1, Option C2 and Option C3. How could I get the values selected? Any ideas?
    Regards,
    Jeannine

    First off why are you concat the c1.ttexto_opcion to the radio button? there is an option to specify the text value.
    Like this
    begin
      FOR c1 IN(select empno,ename from emp) LOOP
         HTP.P(APEX_ITEM.radiogroup(1,c1.empno,1,c1.ename));
    --id, value, selected_value, display text
      END LOOP;
    end;Not sure you could with that. Is that region building the radio buttons like your example? if so, you need to change it so each "column" has its own global array
    So for column 1 (options A) you use this code
    HTP.P(APEX_ITEM.radiogroup(1,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f01 (1 being what p_id is)
    so for column 2 (option B)you use this code
    HTP.P(APEX_ITEM.radiogroup(2,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f02 (2 being what p_id is)
    so for column 3 (option c)you use this code
    HTP.P(APEX_ITEM.radiogroup(3,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f03 (3 being what p_id is)

  • Problem with strange border-colors on windows 2000

    On windows 2000, I have the problem, that my JButtons, JComboboxes and so on are rainbow-colord (if I do not set a special Border to theser Components). What can I do (if possible, I would not set explicit borders to all Components; and for Popups-Dialogues, it is not possible to set spcial borders, is it?)
    Thank you for any help!

    I'm seeing the exact same behavior on my 8.1 Laptop.  I tried deleting the Skype tmp folder as suggested elsewhere, I also uninstalled and reinstalled Skype for Desktop and still can't hang up a call  and often can't answer a call either.  Makes Skype completely useless at this point.

Maybe you are looking for

  • Profit center report doesn't tie up to the individual PC

    Guys I am lost I am running S_ALR_87013340 : profit center Plan Actual comparison    report, on a group of profit centers: the total I got is different from the sum of the individual profit centers in the group: the difference being on my production

  • How to diaplay a logo dynamically in smartforms

    hi experts, i have 3 logos which needs to get printed in the smartform based on the business areas as the condition can you please help me in providing a sample code to display the logo dynamically in smartform Edited by: murari sampath kumar on Jan

  • Everytime I close Firefox it gives me the message box that firefox has crashed

    I close firefox with the X like I close all of my applications but every time I close it I get a popup box saying that firefox has crashed do you want to send a crash report and I can type in what happened. Then I can choose to close firefox or resta

  • Compile and generate using adadmin step cant display log file

    Below is the output of the compile and generate step (1-4). UTL_FILE.READ_ERROR DIRECTORY: LOG_INSTANCE_1703FILE: script_10438.sh.logProcess Returned: 0 Results in: /mwiz/oracle/mwizdb/10.2.0/eof/log/INSTANCE_1703/script_10438.sh (49 bytes) I manuall

  • Run Time Error "CALL_FUNCTION_NOT_FOUND"

    Hi Friends, I am not able to create Material Master Record in Material Master Table due to Run time Error " CALL_FUNCTION_NOT_FOUND" The Following information found in the error screen, Short text : "CRM_GET_TRANSFER_STRUCNT" not found. what happend: