• RELEVANCY SCORE 4.18

    DB:4.18:How To Detect When Text Exceeds The Rectangle It Is Put In? 1d





    Hello,

    is it possible by using scripting to detect when text added to a rectangle doesn't fit completely (that is, when the "plus" sign appears)?

    If so, how?

    Thanks,

    Mario

    DB:4.18:How To Detect When Text Exceeds The Rectangle It Is Put In? 1d


    Check "overflows" property of the text frame.

    Hope that helps.

    --

    Marijan (tomaxxi)

    http://tomaxxi.com

  • RELEVANCY SCORE 2.91

    DB:2.91:Text Frame Over Rectangle k7




    I created a rectangle with the rectangle tool and creaed a text frame and added some text in it. When I drag the text frame over the rectangle frame the text disappers and the "+" appears in the text frame right lower corner indicating there is wrap text.

    How do I get the text in the text trame to display when it is placed on top of the rectangle created with the rectangle tool?

    Thanks

    Ken

    DB:2.91:Text Frame Over Rectangle k7

    Don't forget that "text wrap only affects text beneath" is a document-wide setting, so if you change it part way through you might cause changes elsewhere.

    k

  • RELEVANCY SCORE 2.90

    DB:2.90:Conditional Text fd




    Hi all,

    I want one solution,I am using apex tool,I want a text that is to be displayed when sql report exceeds a certain limits of results(or row) After user submitting for generation of reports.This text to be displayed once report exceeds certain limits.Please help me out in this.

    thanks

    DB:2.90:Conditional Text fd

    Perhaps a big arrow pointing to it? hehe

  • RELEVANCY SCORE 2.90

    DB:2.90:Log Monitor Fails When Trace Files Exceed 2gb 7p


    When the trace file exceeds 2GB the Log Monitor reports the size as negative values.

    More problematic however is that the generate text report creates 0 byte text files when the trace file exceeds 2GB.

    How do I work around this problem?

    P.

    DB:2.90:Log Monitor Fails When Trace Files Exceed 2gb 7p

    I've got the same problem, but my trace file has not reached 2GB - it's about 1,5GB.

    Any idea?

    Michael

  • RELEVANCY SCORE 2.80

    DB:2.80:Fixed Rectangle Size kd


    Hi,
    Following the below steps, I was able to get a matrix.
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/ee01e915-e8bf-49ef-92dc-255c9231f6c0
    I'm trying to put a rectangle around the list to achieve a border for aesthitic feel but the rectangle expands along with the list (sometimes exceeds the page width and messes up the report layout). Eg: if i data is 2x2 matrix,i get a small box, If i have
    6x6, then rectangle exceeds the page size while the other components of the report are in alignment of A4 size.
    How to make the rectangle size fixed? the main objective it to just get a static rectangle looking border irrespective of the list expansion.
    Thanks,
    Raj

    DB:2.80:Fixed Rectangle Size kd

    Select the body, check its properties, and set it to have border on all sides. this comes for each page, body part alone.
    If you need it just for a list, then, the rectangle willexpand with the list. Alternate is to have page level border. Select the report properties and set the border. this comes for whole page.

  • RELEVANCY SCORE 2.78

    DB:2.78:Stylusmove Gesture md


    Hi everybody,
    I'd like to know if it's possible to detect when my finger is moving towards right and top inside
    StylusMove event applied to a rectangle.
    I have been searching something for almost an hour but I can't find anything.
    Any suggestion would be appreciated!
    Thank you..
    Domenico Mustara

    DB:2.78:Stylusmove Gesture md


    Ciao Christine,
    your code helped me a lot and now everything is okay!
    Thank you very much for your help!Domenico Mustara

  • RELEVANCY SCORE 2.76

    DB:2.76:Problem: Scrollbar Textarea ck


    Hi! I have the following problem: I want to add text to JTextArea box and I had created a scrollpane with vertical scroll bar. Also, I have a combobox. When I select one option of combo, it adds a brief explication about this option. When it adds this explication to Textarea, the scrollbar down and I want that the scrollbar up.

    El codigo es este:

    jTextAreaInfo.setLineWrap(true);
    jTextAreaInfo.setWrapStyleWord(true);
    jTextAreaInfo.setBounds(new Rectangle(10, 135, 335, 200));
    jTextAreaInfo.setEditable(false);
    scrollPaneInfo.setBounds(new Rectangle(10, 135, 355, 195));
    scrollPaneInfo.getViewport().add(jTextAreaInfo, null);
    scrollPaneInfo.setVerticalScrollBarPolicy(scrollPaneInfo.
    VERTICAL_SCROLLBAR_ALWAYS);
    ....................................................
    ....................................................
    ....................................................
    //scrollPaneInfo.getVerticalScrollBar().scrollRectToVisible(new Rectangle(10, 135, 355, 195));
    //scrollPaneInfo.scrollRectToVisible(new Rectangle(0, 0, 0, 0));

    scrollPaneInfo.getVerticalScrollBar().scrollRectToVisible(new Rectangle(0, 0, 0, 0));
    scrollPaneInfo.getVerticalScrollBar().setAlignmentY(0);
    scrollPaneInfo.getVerticalScrollBar().setAlignmentX(0);
    scrollPaneInfo.getVerticalScrollBar().updateUI();

    Do I have to try to use the function scrollRectToVisible ???? What are the dimensions of the rectangle????? (0,0,0,0) ???
    Thanks!!

    DB:2.76:Problem: Scrollbar Textarea ck

    Hi! I have the following problem: I want to add text to JTextArea box and I had created a scrollpane with vertical scroll bar. Also, I have a combobox. When I select one option of combo, it adds a brief explication about this option. When it adds this explication to Textarea, the scrollbar down and I want that the scrollbar up.

    El codigo es este:

    jTextAreaInfo.setLineWrap(true);
    jTextAreaInfo.setWrapStyleWord(true);
    jTextAreaInfo.setBounds(new Rectangle(10, 135, 335, 200));
    jTextAreaInfo.setEditable(false);
    scrollPaneInfo.setBounds(new Rectangle(10, 135, 355, 195));
    scrollPaneInfo.getViewport().add(jTextAreaInfo, null);
    scrollPaneInfo.setVerticalScrollBarPolicy(scrollPaneInfo.
    VERTICAL_SCROLLBAR_ALWAYS);
    ....................................................
    ....................................................
    ....................................................
    //scrollPaneInfo.getVerticalScrollBar().scrollRectToVisible(new Rectangle(10, 135, 355, 195));
    //scrollPaneInfo.scrollRectToVisible(new Rectangle(0, 0, 0, 0));

    scrollPaneInfo.getVerticalScrollBar().scrollRectToVisible(new Rectangle(0, 0, 0, 0));
    scrollPaneInfo.getVerticalScrollBar().setAlignmentY(0);
    scrollPaneInfo.getVerticalScrollBar().setAlignmentX(0);
    scrollPaneInfo.getVerticalScrollBar().updateUI();

    Do I have to try to use the function scrollRectToVisible ???? What are the dimensions of the rectangle????? (0,0,0,0) ???
    Thanks!!

  • RELEVANCY SCORE 2.76

    DB:2.76:Detect Page Break In Report cx



    Hello everybody

    I'm creating an application that is able to create reports out of test results (Word). This reports often contain a result table which exceeds the length of a single page. Now it would be nice to add the table header at the beginning of every new page which would ease the reading of the result table.

    My table is not actually a table but in fact a multiline string which contains the row borders as particular characters at the correct positions("|"). It's concatenated inside the LabVIEW program. It's possible to add the table rows one by one or as a multiline string using the "Append Report Text" VI. Is there any possibility either...

    ... to detect when the report generates a page break ...

    ... or ...

    ... to detect when the final line of a page is reached so I can insert a page break programmatically.

    I use LabVIEW 2013Any ideas? Many thanks for your help!

    Greetings

    Thomas










    Attachments:







    table.png ‏47 KB

    DB:2.76:Detect Page Break In Report cx


    Hi Tamara

    Many thanks for your help. I think I have an overview about possible solutions now and am able to find a way through this.

    Again, thank you for your effort!

    Greetings

  • RELEVANCY SCORE 2.70

    DB:2.70:My Site Ui Breaks Beyond A Certain Limit. However This Issue Doesnt Exist On Other Browsers. 7p



    On Our site I have huge product list page which exceeds 200 products. Each can hold 120px height. When the listing exceeds the 190th product, the HTML part stops redering(only plain text is renderd). However this works fine on other browsers.

    I am using latest version of firefox - 28.0.

    DB:2.70:My Site Ui Breaks Beyond A Certain Limit. However This Issue Doesnt Exist On Other Browsers. 7p



    Hello,

    Try Firefox Safe Mode to see if the problem goes away. Firefox Safe Mode is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).

    (If you're using an added theme, switch to the Default theme.)

    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the Restart with Add-ons Disabled... menu item:

    If Firefox is not running, you can start Firefox in Safe Mode as follows:

    On Windows: Hold the Shift key when you open the Firefox desktop or Start menu shortcut.
    On Mac: Hold the option key while starting Firefox.
    On Linux: Quit Firefox, go to your Terminal and run firefox -safe-mode
    (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)

    Once you get the pop-up, just select "'Start in Safe Mode"

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to figure out which one. Please follow the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article to find the cause.

    To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.

    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

    Thank you.

  • RELEVANCY SCORE 2.70

    DB:2.70:How To Draw Rectangle Or Image In Column Of Datagrid 73


    Hi,
    I have datagrid with ItemsSource ListMyClass ....
    In my class I have attributes: string, string, Rectangle.
    How can I draw Rectangle in column in this datagrid?
    Because when I use it, I have only text System.Window.... in every Column for attribute Rectangle.
    Thanks a lot.

    DB:2.70:How To Draw Rectangle Or Image In Column Of Datagrid 73

    Hi
    I am searching for a solution to change the background color of a specific cell of a row depending on the content. The DataGrid looks like this:
    Name | Last Online | State | E-Mail
    The Last Online Column shows a timestamp. If the user didnt logged in inbetween 13 days, the State column should have the color red, else green.
    On the search I found this code snippet from skea showing already the needed solutions - just with one problem:
    The object of the type System.Windows.Controls.DataGridCell cannot be casted into System.Windows.Controls.ContentPresenter
    Any suggestions?
    Thanks in advance,
    ggo

    Just bind the background color in the template to a property in your datacontext. Then add a valueconverterthat converts that timestamp to a solidcolorbrush.

  • RELEVANCY SCORE 2.68

    DB:2.68:Rectangle In Timeline Will Not Appear When Slide Plays 9d


    Using Captivate 4.

    In one of my slides, an audio track (.wav) is triggered by clicking a button.

    34 seconds into the audio, a rectangle needs to appear (under a text caption).

    Problem: The rectangle will not appear. It's in the right position on the timeline, and it's set to show for the rest of the slide. In preview the rectangle does not appear. After publishing, the rectangle does not appear.

    The rectangle properties are...

    PropertiesOptionsVisible = yesdisplay = rest of slideappear after = 34seceffect = no transition

    Any ideas?

    DB:2.68:Rectangle In Timeline Will Not Appear When Slide Plays 9d


    This was resolved. Discovered another button in the slide had a Pause setting, which prevented the timeline from playing.

    Thanks!

  • RELEVANCY SCORE 2.67

    DB:2.67:Textarea mf


    Hi
    I can draw a rectangle on a applet when i click my mouse Can I wrote text in that rectangle using the keyboard ? I can't make a textarea appear when I click my mouse , Is that possible?
    Many thanks

    DB:2.67:Textarea mf

    That example was just to print a string within the
    rectangle; you should be able to modify it
    to create a text area in the location specified
    by the rectangle.

  • RELEVANCY SCORE 2.66

    DB:2.66:Internet Explore Screen View Exceeds Boundries Of My Computer Screen k8


    What is the fix when internet explore screen view exceeds boundries of my computer screen. When I engage IE the view is well beyond my screen size. I have tried to reduce the size of the text but that did not help.

    DB:2.66:Internet Explore Screen View Exceeds Boundries Of My Computer Screen k8

    ctrl0 (zero key) to reset the zoom level to 100% or 125% (depends apon your chosen screen resolution)

  • RELEVANCY SCORE 2.66

    DB:2.66:Problem In Displaying Rectangle Inside The Canvas az


    hi,
    when i put the rectangle inside the canvas the rectangle is not shown. but when i put out side the canavs rectangle is visible why.
    The code is as below

    Grid x:Name=Grid1
    ShowGridLines=True

    Grid.RowDefinitions

    RowDefinition Height=26/RowDefinition

    RowDefinition Height=30/RowDefinition

    RowDefinition Height=30/RowDefinition

    RowDefinition Height=30/RowDefinition

    RowDefinition Height=*/RowDefinition

    RowDefinition Height=25/RowDefinition

    /Grid.RowDefinitions

    Canvas Grid.Row=0

    Rectangle Fill=Green Grid.Row=0/Rectangle
    // Not Shown. But when i put out side this canvas it is visible.

    TextBlock
    Text=Text1 Grid.Row=0 Canvas.Top=4
    Canvas.Left=10/TextBlock

    /Canvas

    /Grid

    DB:2.66:Problem In Displaying Rectangle Inside The Canvas az

    Hi
    on the Silverlight Learn How do I Video page there are 4 Videos that show the diferents and the reason
    http://www.silverlight.net/learn/videos/silverlight-videos/into the seach bar type layin
    or goto
    Grid
    http://www.silverlight.net/learn/videos/silverlight-videos/laying-out-content-with-grid
    Canvas
    http://www.silverlight.net/learn/videos/silverlight-videos/laying-out-content-with-canvas

  • RELEVANCY SCORE 2.66

    DB:2.66:Text And Rectangles On Top Of Wrappanels am


    Is it possible to display text on top of a WrapPanel? Here's my code:
    toolkit:WrapPanel ItemHeight=52 ItemWidth=52 Height=52
    Rectangle Fill=Gray Height=52 Width=52/
    Rectangle Fill=Gray Height=52 Width=52/
    Rectangle Fill=Gray Height=52 Width=52/
    Rectangle Fill=Gray Height=52 Width=52/
    Rectangle Fill=Gray Height=52 Width=52/
    Rectangle Fill=Gray Height=52 Width=52/
    Rectangle Fill=Gray Height=52 Width=52/
    Rectangle Fill=Gray Height=52 Width=52/
    /toolkit:WrapPanel

    What I want is a letter (a to h) each letter on top of each rectangle.

    DB:2.66:Text And Rectangles On Top Of Wrappanels am

    Forget I asked. Sorry. I figured out how to do it. Thanks for all your help.

  • RELEVANCY SCORE 2.66

    DB:2.66:Adding Stroke To Text With Clipping Mask 97



    I want to add a black border around the text so it accentuates the text.

    I have made a rectangle and added black text on top of the rectangle and applied a mask and inverted and clipped the rectangle and text.

    I tried to release the mask and apply a black stroke on the text but when I remask and apply clipping and invert the stroke turns the same color as the text.

  • RELEVANCY SCORE 2.65

    DB:2.65:Counting The Number Of Rows With A Specific Value 9c


    Hi, I need to count the number of times a student exceeds on a test. Those who exceed 2 or more times get a certificate. I have a script written which shows me who exceeds but I don't know how to get a count of the number of exceeds in a row
    in a column at the end. Can anyone help?
    DECLARE @mgo TABLE (studentnumber INT,
    fallmathx VARCHAR (max), fallrdgx VARCHAR(max),
    wintermathx VARCHAR (max), winterrdgx VARCHAR(max),
    springmathx VARCHAR (max), springrdgx VARCHAR(max))
    INSERT INTO @mgo (studentnumber,fallmathx,fallrdgx,wintermathx, winterrdgx,
    springmathx, springrdgx)
    SELECT mg.studentnumber,
    (CASE WHEN mg.fallmath '89' THEN 'Exceeds' END),
    (CASE WHEN mg.fallrdg '89' THEN 'Exceeds' END),

    (CASE WHEN mg.wintermath '89' THEN 'Exceeds' END),
    (CASE WHEN mg.winterrdg '89' THEN 'Exceeds' END),
    (CASE WHEN mg.springmath '89' THEN 'Exceeds' END),
    (CASE WHEN mg.springrdg '89' THEN 'Exceeds' END)

    FROM @mg mg

    SELECT * FROM @mgo
    data results look like this
    studentnumber fallmathx fallrdgx wintermathx winterrdgx springmathx springrdgx
    107882 Exceeds Exceeds Exceeds NULL
    NULL NULL
    110882 NULL Exceeds NULL Exceeds
    NULL NULL
    112860 Exceeds NULL NULL NULL
    NULL NULL
    112959 Exceeds Exceeds Exceeds Exceeds Exceeds
    Exceeds
    114189 Exceeds Exceeds Exceeds Exceeds NULL
    NULL
    105541 Exceeds Exceeds Exceeds Exceeds NULL
    NULL

  • RELEVANCY SCORE 2.64

    DB:2.64:Can't Add Rectangle Object To Inline Image And Group The Two c8



    I'm writing some technical documentation, and as such, I have a need to include screenshots with various areas of the screenshot circled. For some reason, I can't seem to group a rectangle object with an inline image. Here's what I'm doing:

    Insert an inline image. (Either by inserting at a text cursor point or pasting into a text frame.)Click the object tool and draw a rectangle or circle on the image.Select the rectangle with the inline image -- it won't let me select both the inline image and rectangle.

    With non-inline images, I can select the two. But I can't select the two using an inline image.

    This is a problem because the screenshots must travel within the body of the text as I add or remove text, but when they do travel, the rectangle stays in the same spot. Help?

    DB:2.64:Can't Add Rectangle Object To Inline Image And Group The Two c8


    Eugene, thanks for your advice here. I think you're definitely right -- I should be making these annotations on the screenshots in Illustrator. Makes sense and would probably give me more control too.

  • RELEVANCY SCORE 2.64

    DB:2.64:Re: When Plotting Textmask Box (Shadow) Appears Around Text d1



    We are having a TEXT MASK problem when plotting. We the plot comes out the text mask rectangle appears arouns the text as a shaddow.

    can anyone help with this

    thanks

    DB:2.64:Re: When Plotting Textmask Box (Shadow) Appears Around Text d1


    here is an updated scanned plot of the prblem










    Attachments:






    SKMBT_C25311013117000.pdf ‏108 KB

  • RELEVANCY SCORE 2.64

    DB:2.64:Label 7s


    I would like to see the text of my label even when the text exceeds the length of the label may be for example by increasing the property Height of my label or using a SplitContainer you have a solution for my problem please?

    DB:2.64:Label 7s

    sorry it's already false; thank you

  • RELEVANCY SCORE 2.63

    DB:2.63:How Could I Detect Situation That 'Cluster No. Exceeds Maximum Of 3999' dp



    How could I detect situation that 'Cluster no. exceeds maximum of 3999' or 'Cluster no. exceeds maximum of 9998' for a table.

    E.g. I got from SAP note number 168728 which describes this two situations and has different solutions. Howewer I do not find a message describing which situation belongs to a table

    DB:2.63:How Could I Detect Situation That 'Cluster No. Exceeds Maximum Of 3999' dp


    Hi,

    It may happen to any cluster table when you are trying store more records than the allowed one.

    then you have to modify the table EWUCLSTAT as per the correction mentioned.

    this OSS note just gives the solution for the error, don't say where it will happen..

    Summary

    Symptom IMPORTANT NOTE: Implement Note 393505. This way, the corrections from this note are applied and symptom I is prevented. However, symptom II may still occur and cannot be prevented by other program corrections. In case of this error, an entry into table EWUCLCT is the only solution.

    1. A program termination occurs during the CONVERSION phase with the following error message: 'Cluster no. exceeds maximum of 3999.'

    2. A program termination occurs during the CONVERSION phase with error message MQ(350): 'Cluster no. exceeds maximum of 9998'.

    Additional key words

    EWUCLU, Cluster, EWU, EMU, MQ, MQ350, MQ-350,

    Cause and prerequisites

    The program termination occurs when selecting and writing in cluster EWUCLU. A restart is possible.

    Ad 1.:

    3999 blocks are available in table EWUCLU (= Cluster) to store data of a table. This limit was exceeded. Consequently, not all the required data can be stored. As a result, the system terminates the program with the above error message.

    Ad 2.:

    It has become apparent that tables have exceeded the maximum cluster block number. For this reason, an enhancement was developed to 9998 cluster blocks and the error cluster blocks limited to a single error cluster block 9999 instead of to 4000 upwards. A further enlargement is not possible due to the field length. Nevertheless, this enhancement is not sufficient for your table. For your table, you must make an entry into exception table EWUCLCT with which you increase the size of the cluster block. In the standard system, the cluster block size is set to 5 MB.

    Moreover, for performance reasons, you must consider to possibly reduce data, for example, by archiving.

    Solution Ad 1.:

    You can either make a data backup, then import the Support Package or implement the advance correction and start with an new package (I.) or make an exception entry into table EWUCLCT and again start the conversion via the IMG (II.).

    If you carry out possibility II, we recommend to implement the corrections before you execute the next test run.

    When you implement the advance corrections you must make the following change to table EWUCLSTAT in addition to the source code:

    Transaction SE11: table EWUCLSTAT

    Append field PROCESSED as the last field to the table:

    Field name: Data ele.: Type: Length: Short text:

    PROCESSED EWUERLKZ CHAR 1 Completed indicator

    Save and activate the table after this change!

    In addition, you must create a message in message class MQ:

    Access Transaction SE80 - individual object - further objects - edit and create message number MQ350 with the following text: 'Cluster no. exceeds maximum of 9998'.

    Save this message.

    Ad 2.:

    The problem is only solved if you make an entry into exception table EWUCLCT. With this entry, you enlarge the cluster block size. As a result of this, less cluster blocks are written.

    To do this proceed as follows:

    Create program ZEWUCLCT in your system. You find the program in Note 189908. Call up the program and enter the following parameters: PACKAGE: active package

    TABNAME: Name of terminated table

    CLU_SIZE: 10000000

    COM_BLOCK: 01000000

    TASK_NUMB: 04

    JOB_NUMB: 04

    PARABCLU: 0020

    Execute the program and check via Transaction SE16 in table EWUCLCT whether the entry has been made correctly.

    With this record, the cluster block size was increased from 5 MB to 10 MB (parameter CLU_SIZE).

    In general:

    For more information on the parameters and influencing factors, refer to Note 181476. There you also find program ZEWUCLCT.

    Source code corrections

    Header Data

    Release Status: Released for Customer

    Released on: 07.06.2001 22:00:00

    Priority: Correction with high priority

    Category: Program error

    Primary Component: CA-EUR-CNV Local Currency Conversion

    Releases

    Software

    Component Release From

    Release To

    Release And

    subsequent

    SAP_APPL 30 31I 31I

    SAP_APPL 40 40B 40B

    SAP_APPL 45 45B 45B

    SAP_APPL 46 46B 46B

    SAP_APPL 46C 46C 46C

    Regards,

    Anji

  • RELEVANCY SCORE 2.63

    DB:2.63:Placing An Image Without Rectangle jm



    When I place an image inside a text frame, InDesign creates a rectabgle and then places the image inside this. But I want image directly into the text frame without rectangle. How can I do this?

    DB:2.63:Placing An Image Without Rectangle jm


    Eugene,

    I don't understand this advice. If I have a loaded cursor and a predrawn image frame, I need only click on the frame to place the image. In fact, holding Cmd will prevent the image from being placed. Am I missing something?

    Yanesh,

    I wonder why you talk of placing an image in a text frame. Do you want the image as an inline graphic, or are you under the impression that you need a text frame to place a graphic?

  • RELEVANCY SCORE 2.63

    DB:2.63:Tooltip At Location Of Rectangle In A Picturebox. sd


    This is what I have, it works but creates multiple instances of the Tooltip, when the mouse is moved.

    I have ithappeningon the mouseMove event and I thin that's the problem but I'm not sure.

    The Code:

    private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
    {
    Rectangle r1 = new Rectangle(50, 531, 60, 60);
    Rectangle r2 = new Rectangle(134, 531, 60, 60);
    Rectangle r3 = new Rectangle(215, 531, 60, 60);
    Rectangle r4 = new Rectangle(297, 531, 60, 60);
    Rectangle r5 = new Rectangle(50, 446, 60, 60);
    Rectangle r6 = new Rectangle(134, 446, 60, 60);
    Rectangle r7 = new Rectangle(215, 446, 60, 60);
    Rectangle r8 = new Rectangle(297, 446, 60, 60);
    Rectangle r9 = new Rectangle(50, 364, 60, 60);
    Rectangle r10 = new Rectangle(134, 364, 60, 60);
    Rectangle r11 = new Rectangle(215, 364, 60, 60);
    Rectangle r12 = new Rectangle(297, 364, 60, 60);
    Rectangle r13 = new Rectangle(50, 283, 60, 60);
    Rectangle r14 = new Rectangle(134, 283, 60, 60);
    Rectangle r15 = new Rectangle(215, 283, 60, 60);
    Rectangle r16 = new Rectangle(297, 283, 60, 60);
    Rectangle r17 = new Rectangle(50, 200, 60, 60);
    Rectangle r18 = new Rectangle(134, 200, 60, 60);
    Rectangle r19 = new Rectangle(215, 200, 60, 60);
    Rectangle r20 = new Rectangle(297, 200, 60, 60);
    Rectangle r21 = new Rectangle(50, 118, 60, 60);
    Rectangle r22 = new Rectangle(134, 118, 60, 60);
    Rectangle r23 = new Rectangle(215, 118, 60, 60);
    Rectangle r24 = new Rectangle(297, 118, 60, 60);
    Rectangle r25 = new Rectangle(50, 37, 60, 60);
    Rectangle r26 = new Rectangle(134, 37, 60, 60);
    Rectangle r27 = new Rectangle(215, 37, 60, 60);
    Rectangle r28 = new Rectangle(297, 37, 60, 60);

    ToolTip t1 = new ToolTip();
    if (r26.Contains(e.X, e.Y))
    {
    t1.Show(The rectangle!, this, e.X, e.Y);
    }
    else
    {
    t1.Hide(this);
    }
    }

    DB:2.63:Tooltip At Location Of Rectangle In A Picturebox. sd

    If you made it, we are welcome you to share your solution here. It will be very beneficial for other community members who have similar questions.
    Thanks for your understanding and support.Best Regards,
    Rocky Yue[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.63

    DB:2.63:Rectangle Shapes Flicker When Tabbing Through Controls xd


    I have built a windows form in Visual studio 2008. The form loads and functions correctly. On the form i have three rectangle shapes seperating various sections of the form. when tabbing from text box to text box the rectangle shapes flicker.
    i have set the double buffer on the form; does nothing. the rectangles are purely for aesthetics and provide no functionality to the form.
    any ideas on getting the flickering to stop?

    DB:2.63:Rectangle Shapes Flicker When Tabbing Through Controls xd

    Hey William,
    How do you handle the order of the controls if there are more than one control on the label that doesthe animation.

  • RELEVANCY SCORE 2.61

    DB:2.61:Apply Text Animation On Title And Rectangle? Is This Possible? 1f


    I have made a title on a rectangle, and want to apply text animation on them both at same time. But when I do this the rectangle dosn't follow. Is there a way to give the title and rectangle text animation at once?

    DB:2.61:Apply Text Animation On Title And Rectangle? Is This Possible? 1f

    Ups, I just saw I posted the question on the wrong forum. But if anyone can answer it, I will appreciate it alot

  • RELEVANCY SCORE 2.61

    DB:2.61:Jlist Focus Problem! zs


    Hi!
    I created a JList with my custom JLabel renderer that has a icon, when I select the JList's item, its render(JLabel) is Focused by a rectangle, but JLabel's icon is contained by that rectangle, I hope JLabel's icon don't contained by that rectangle and only JLabel's text is contained. How can I do?

    Thanks!

    DB:2.61:Jlist Focus Problem! zs

    I should clarify.

    The code I wrote handles drawing the text in the rendering of the cell.

    In your case you wish to handle the drawing of the background when
    the cell is active.

    All I ment was that I have generated my own Cell Renderer, just for a
    different purpose.

    Also, you are not overriding the rendering of the JList, but the JList's
    cells, hence why you would be using the interface ListCellRenderer.

    James.

  • RELEVANCY SCORE 2.60

    DB:2.60:Combining Two Shapes jp



    hi there. I'm creating an svg drawing using illustrator cs4. within my drawing / graphic, i have a rectangle that has a label on it. my user is requesting that when they click on the rectangle, they would like to see the rectangle grow / zoom so they can read the label clearly.

    i found some sample SVG animations that use the animate width... tag which i can use to make the shape "grow". the only problem is that the text on the rectangle doesn't grow withit. is there any way to combine the rectangle text so that it's just one shape instead of two? (ideally, it'll remain a rectangle).

    I tried grouping them and adding the animation on the group but that didn't work for me. I also tried adding the animation on both the text and the rectangle but that didn't work either. i'm just a newbie but my guess is that you can only do this on shapes that natively have a width property. i guess text doesn't. Can you tell me if thereis a way to combine these shapes and still be able to treat it as a rectangle? is this the best approach to use? the drawing will have a lot of shapes on it and the user wants to be able to either hover over a sape or click it to have it zoom in .

    thanks.

    DB:2.60:Combining Two Shapes jp


    chubbyp,

    i'm not sure i know what you mean when you say the type is Live or Outlined?Live Type is what you create with the Type Tool; it is editable. TypeCreate Outlines turns it into paths with the same shape (with a ceratin limitation at a small size), but you cannot edit it: you have to remake for any changes.I've selected the "Type Tool, as opposed to the "Area Type Tool". `Does that
    sound right

    It does.

  • RELEVANCY SCORE 2.60

    DB:2.60:Adjusting Font Size When Text Block Is Too Large For Text Box kf



    I know I've seen a script that will change the font size when the number of characters in a field exceeds X, so the results should allow the entire text to be seen by the user.

    Any suggestions?

    DB:2.60:Adjusting Font Size When Text Block Is Too Large For Text Box kf


    Yes, I've done this a number of times. You do it with Conditional Formatting. You do a Length calcluation on the size of the field and if it is greater than a certain length such as 50 characters, then apply the Additional formatting option to reduce the font size. It works pretty well other than what it measures is the number of characters and not how wide the font is. So if a line is in all CAPS, it might have as many characters before it reaches the margin and needs to be made smaller. And if you had a line of lower case "i"s, then the formula will change the font to smaller long before it reaches the right margin. However, in general it works ok. Not the best solution, but better than nothing at all.

  • RELEVANCY SCORE 2.60

    DB:2.60:Rectangle Around Anything Selected d3


    Anything that is selected is getting a black rectangle around it. When selecting an icon, text, or any buttons a black rectangle will appear around what is selected.

    Anyone have any ideas what this is?

    Thanks.

  • RELEVANCY SCORE 2.60

    DB:2.60:Newbie Error- Url Encoded Sql Length Exceeds Allowed 32k Limit 8j


    My SQL Query worked fine yesterday.( I'm still in developing mode)

    I made a copy of it and put it into a text file.( Just to be sure I had it.)

    Today When I tried to run it in APEX , I get error

    URL Encoded SQL Length exceeds 32K limit.

    Is there any way to tell how the size of my query ( for example 33K)
    is using?

    TIA
    Steve42

    DB:2.60:Newbie Error- Url Encoded Sql Length Exceeds Allowed 32k Limit 8j

    If you can demonstrate the problem on apex.oracle.com, we can check it.

    Scott

  • RELEVANCY SCORE 2.60

    DB:2.60:Apply Text Animation On Title And Rectangle? Is This Possible? m7


    I have made a title on a rectangle, and want to apply text animation on them both at same time. But when I do this the rectangle dosn't follow. Is there a way to give the title and rectangle text animation at once?

    DB:2.60:Apply Text Animation On Title And Rectangle? Is This Possible? m7

    As Steve suggests, you would animate the entire Title, using the fixed EffectMotionPosition (and possibly MotionScale). For a different feel, you could even create one Title with the rectangle, and another with the Text, and animate them separately, with perhaps the rectangle entering the frame first, moving rapidly into place, and then the Text following a moment later. Just one of many variations.Steve also has some good articles on Keyframing on Muvipix. I cannot recall if those are in the free area, or not.Good luck,Hunt

  • RELEVANCY SCORE 2.60

    DB:2.60:Align Uses On Top Object As The Primary When It Should Be The Other Way Around 1x


    So you have a rectangle that is part of yoru fixed layout. ie: some part of a menu background, etc. Then you write some text and you casually move it on top of the rectangle. You now want to perfectly center it vertically and horizontally within the rectangle. So you shift-select both the text object and the rectangle and choose the Menu Arrange-Align-Centers. However the result is that the text object does not move and instead the rectangle underneath is moved to align with the text. In order to treat the rectangle as the object that should not move, you have to promote it above text object on the object stack. This causes the text to dissapear visually. You can now select both objects and choose to align to centers and it works as expected, but then you have to move the text object back above the rectangle on the object stack.Is there a good reason why this order is used? It seems to me when you align centers, the object higher on the stack should move and the lower one should stay put.Thoughts?

    DB:2.60:Align Uses On Top Object As The Primary When It Should Be The Other Way Around 1x

    dwlovell,
    Getting the ear of the feature designer is no longer possible. Design is built on it's predecessor program, Expression 3.3, which was developed in China by a husband and wife team. The feature you're looking at has been a part of Expression since it's inception back in 1995 with Expression version 1. Much of the code in Design is the old code from Expression. The creators of Expression have since move back to China and no one knows how to get ahold of them. I would suggest filing a suggestion asking for a better alignment solution but the suggestion has already been made. Actually, the suggestion list for features and feature enhancements is quite large so I suspect it will be a long while before we see many of the suggestions people have made over the years.

    Annie

  • RELEVANCY SCORE 2.60

    DB:2.60:Impossible To Align Text In Jtextfield ? 8m


    Hi,

    When the string length exceeds the JTextField's length, the text gets aligned right. Is there any fix for this? setHorizontalAlignment doesn't seem to work!

    /AC

  • RELEVANCY SCORE 2.59

    DB:2.59:Java2d And Scale sz


    hi

    when I scale my shape [Rectangle] with g2d.scale(2,2) , I can't detect correct hit on shape because my shape scale still same as previous and only view of shape is change.

    I need solution for solving this problem [change size of shape after Transform].

    thanks

    DB:2.59:Java2d And Scale sz

    BufferedImage MyNewImage = BufferedImage(NewWidth, NewHeight, ImageType);
    Graphics2D g = MyNewImage.createGrahpics();
    g.drawImage(MyOldImage, 0, 0, NewWidth, NewHeight, null);
    g.dispose();Gets you a new Image physically sized as desired. Please note that you do NOT want to do multiple resizes on an image, it will cause artifacts and other degredation.

  • RELEVANCY SCORE 2.58

    DB:2.58:Text Frame And Rectangle Frame Strange Behaviour d1


    Hi to allI notice a strange behaviour with text and rectangles togheter.I draw a rectangle (filled or transparent).I draw a text frame upon it. Or I pick a text frame and drag upon the rectangle.Now I add text in the text frame, this grow in height but the rectangle grow too!The rectangle act like a text frame background!I notice than this happen only when more than half of text frame width is upon rectangle.The only way to make this don't happen is to write text away from rectangle and the drag it.Is it normal?Thanks, Mario

    DB:2.58:Text Frame And Rectangle Frame Strange Behaviour d1

    Hi to allI notice a strange behaviour with text and rectangles togheter.I draw a rectangle (filled or transparent).I draw a text frame upon it. Or I pick a text frame and drag upon the rectangle.Now I add text in the text frame, this grow in height but the rectangle grow too!The rectangle act like a text frame background!I notice than this happen only when more than half of text frame width is upon rectangle.The only way to make this don't happen is to write text away from rectangle and the drag it.Is it normal?Thanks, Mario

  • RELEVANCY SCORE 2.56

    DB:2.56:Convert Text Frame To Non-Text Rectangle 8m



    1. Is there a way to convert a Text Frame to Non-Text Rectangle?

    2. Also, if anyone can tell me, whenever I manually cover my text frames with rectangles, the new rectangle snaps as to the edges of the existing text frame as I expect, but the resulting rectangle is smaller on every side. I suspect this is a stroke (border line) issue, but even when I set it to 0px stroke, the rectangle is still too small. How do I fix this?

  • RELEVANCY SCORE 2.56

    DB:2.56:A Question About "Special Occasion " Theme 8p


    Im preparing a book with the "special occasion" theme (this is the first one I do) but dont want to write any text in it. I select the text and delete it but then appears a rectangle were the text was.
    My question is. Will this rectangle appear when the book is printed?
    Regards
    Guillermo

    DB:2.56:A Question About "Special Occasion " Theme 8p

    How Do I Change The Color Of The Boxes In A Book?

    http://www.bagelturf.com/files/f6c30f233b6800318e2bf9ce7d6e1021-876.html

    Two ways: hack Aperture's internals a little, or make your own color images and put those in your book.

  • RELEVANCY SCORE 2.56

    DB:2.56:How To Detect A Polygon Text Area za



    In my script I am looking at each textFrame to determine its alignment and orientation. No problem here. But, I also need to determine if the artist has specified a polygon rather than the standard rectangle for the text area. Is there a way to do this in the script?

    Thanks in advance - Steve

    DB:2.56:How To Detect A Polygon Text Area za


    Hi Larry, Area is not a property of a textFrame. Area, as well as width and height are properties of textPath, which in turn is a property of textFrame.

    CarlosCanto

  • RELEVANCY SCORE 2.55

    DB:2.55:Show A Rectange On sk


    Hi all,I have two difficult situation while developingtree view controlin winformswhich are explained below.1. The tree view control should show a rectangle over the node when i hover the mouse on that.2. The tree node text should be appended with three dots if the width of the node text exceeds the width of the control.3. For the above scenario, if i hover the mouse on the node,full text of the node should appear inside the rectangle.I need a solution for any of these, I know it is very difficult to find out, but i need ideas for any of the above, Please it is very urgent.

    DB:2.55:Show A Rectange On sk

    Hi all,I have two difficult situation while developingtree view controlin winformswhich are explained below.1. The tree view control should show a rectangle over the node when i hover the mouse on that.2. The tree node text should be appended with three dots if the width of the node text exceeds the width of the control.3. For the above scenario, if i hover the mouse on the node,full text of the node should appear inside the rectangle.I need a solution for any of these, I know it is very difficult to find out, but i need ideas for any of the above, Please it is very urgent.

  • RELEVANCY SCORE 2.55

    DB:2.55:Rectangle Fill Color Binding da


    I have a ListBox bound to an ObservableCollectionApertureElement ApertureElementsin whicha ApertureElement has aElementColor and Label Property. I want to have the color displayed next to the label. The xaml is shown
    below. When the element is displayed I see the label text but I do not see the rectangle filled with a color. Here is the xaml:
    ListBox x:Name=_itemsList
    ItemsSource={Binding ApertureElements}
    ListBox.ItemTemplate
    DataTemplate
    StackPanel Orientation=Horizontal
    Rectangle Width=20
    Height=20
    Rectangle.Fill
    SolidColorBrush Color={Binding ElementColor} /
    /Rectangle.Fill
    /Rectangle
    Label Content={Binding Label} /
    /StackPanel
    /DataTemplate
    /ListBox.ItemTemplate
    /ListBox

    DB:2.55:Rectangle Fill Color Binding da

    There was no errors in the output window and when I was in the debugger I noticed that my property was getting called. I tracked the error to my use of System.Drawing.Color. When I changed the ElementColor type to System.Windows.Media.Color the
    listbox is populated with the proper filled color.

  • RELEVANCY SCORE 2.54

    DB:2.54:Datagridview Does Not Display Focus Rectangle ks


    Hi,Create an unbound DataGridView with two text columns on a form.Set SelectionBackColor to Window and SelectionForeColor to ControlText.Set EditMode to EditProgrammatically.Run the app and click on the cell in Column1. No focus rectangle is shown. Now click on the other cell and still nothing.Now press the TAB key. The focus rectangle appears. Click on the cell which hasn't got the focus rectangle and voila: focus rectangle now shows on the clicked cell.Any ideas how to get the focus rectangle to show when you click on a cell (without pressing TAB)?I tried overriding the OnCellPainting and calling e.Paint with the DataGridViewPaintParts.Focus flag set but still no focus rectangle.What am I missing?ThanksMort.

    DB:2.54:Datagridview Does Not Display Focus Rectangle ks


    Hi Mortimer

    Please use ControlPaint.DrawFocusRectangle in DataGridView.CellPainting event like the following. Itll work:

    If there is any question, please do not hesitate to let me know.
    Thanks.

    Best wishes
    Jun Wang

    Code Snippet

  • RELEVANCY SCORE 2.54

    DB:2.54:Inserting Page Break After Each List Item In List In Reports da


    please help me designing this reportmy report is designed in such a way that it hasBody includes the following -image,textbox1,textbox2 -rectangle 1 -rectangle 2 -rectangle 3 has a list -List1 has - text boxes - rectangle 4 - rectangle 5
    Now i need to have a hyperlink kind of label (like 'One item per page') in this report,on clicking on this link my report has to be reformatted in such a way that ,when i print it ,each page should haveonly one list item along with other fileds like.. image,textbox1,textbox2 Rectangle3 List1 1st item - text boxes - rectangle 4 - rectangle 5next print page has image,textbox1,textbox2 Rectangle3 -List1 2nd item - text boxes - rectangle 4 - rectangle 5......is this feasible????

    DB:2.54:Inserting Page Break After Each List Item In List In Reports da

    hii Boyan, thanks a lot, your suggestion has helped in designing my report ..thanks once again :)

  • RELEVANCY SCORE 2.54

    DB:2.54:Measurestring Returns Different Height After Text Width Exceeds Layout Width x8


    I'm running into a problem using the Graphics.MeasureString function. I'm using .NET 3.5, but I don't know if that matters. I'm trying to determine how many characters will be drawn given a string with a certain font, a layout rectangle, and
    a particular stringformat. I'm using a string of 1s and I'm observing the max. number of them that will fit on one line within the layout rect. For the height of the layout rect, I'm using the height returned from MeasureString when the length
    of the string is fairly small ( 10 chars). It seems that once the width of my string exceeds the width of the layout rect, the height returned by MeasureString notches up a bit, causing the text to betoo large to be drawn, and thereforethe
    # of chars drawn and # lines drawn both= 0. Is this by design? It seems odd that this would happen. Here's my code:
    Dim grfx As Graphics = Me.CreateGraphics
    Dim chars As Integer
    Dim lines As Integer
    Dim sz As SizeF
    Dim sf As StringFormat = StringFormat.GenericTypographic
    sf.FormatFlags = StringFormatFlags.LineLimit Or _
    StringFormatFlags.MeasureTrailingSpaces
    Using grfx
    sz = grfx.MeasureString(New String(1c, 50), New Font(Arial, 8, FontStyle.Bold),
    New SizeF(300, 12), sf, chars, lines)
    End Using
    sf.Dispose()
    When my string length is =50, sz.Height = 11.916; but when my string length exceeds 50, the height bumps up to 12.26. Why is the height increasing past this point?

    DB:2.54:Measurestring Returns Different Height After Text Width Exceeds Layout Width x8

    Your settings work, but the returned sz.Height is 12 rather than 11.916.Change NoWrap to NoClip, and all is the sameexceptthe returned height is 12.26xx. In both cases, the number of characters written is returned to you correctly.
    So, after some trial and error, mmckain's problem is solved well enough for him to move on, but the underlying question about the flakiness of the returned height (sz.Height in the OP) remains unanswered.Flakiness isbehavior variablility
    that is weakly/not documented. I defy anyone to deduce the observed behavior (or a solution to the OP) from the .NET documentation. Instead, one must do trial and error.I am a fan of .NET,but its weak documentationis my
    long standing gripe about the .NET product. But I have digressed...

  • RELEVANCY SCORE 2.54

    DB:2.54:Promote Text Box To Title Box Using Vba fj


    Hello All,
    Long time, no see! Had a VBA question:

    I often receive PPT from people I need to polish up. Oneproblem I frequently run into is the scenario in which the author deleted the title text box placeholder, and then replaced it with a "normal" rectangle or text box, thus their slide has a "title,"
    but it doesn't carry any of the properties we like about having a proper slide title.

    I hadn't considered this batchable for the longest time since there is no way to detect which text box should be made the title box automatically. But today it occurred to me that rather than trying to devise a batch process for all slides, it would still
    be a great improvement if I could automate my manual process for each individual slide by selecting the text box I wanted to "promote" to the Title box on the active slide and then running a macro. Even if I run it 100 times, it will still be considerablly
    faster than the manual process.

    My manual process is:

    Select allthe text in the text box or rectangle I want to make the title box
    Cut Paste as the title Delete the extra return carriage that is always inserted when I do this (Why does this happen any ways?)

    So the logic for the code seems like it should follow the same essential process:

    It will effect the text box manually selected on the active slide when triggered.
    Error checking to make sure only one object is selected. It will select all the text, then cut. It will paste it into the title box field in the default location on that master slide layout.
    It will elminiate any return carriage that ends the copied text.

    Haven't really started writing it, but is there an easier way? Is it possible to simply change the designation of any text box or rectangle to the title box? Also, I'm not sure how to eliminate that return carriage from being inserted.

    Any and all help is appreciated. Many thanks!
    ~A

    DB:2.54:Promote Text Box To Title Box Using Vba fj

    Awesome. Thanks, guys!Below is what I have so far. I was able to remove the strip return carriage function, since using this method of copying the titledidn't add the extra return carriage that I get doing it manually. This works well so long as there
    is a title placeholder on the active layout.

    Sub mkTitle()
    Dim osld As Slide
    Dim oshp As Shape
    Dim oTxR As TextRange
    If ActiveWindow.Selection.Type = ppSelectionNone Or _
    ActiveWindow.Selection.Type = ppSelectionSlides Then Exit Sub
    If ActiveWindow.Selection.ShapeRange.Count 1 Then Exit Sub

    Set oshp = ActiveWindow.Selection.ShapeRange(1)
    Set osld = oshp.Parent
    Set oTxR = oshp.TextFrame.TextRange
    'is there a title placeholder?
    If osld.Shapes.HasTitle Then
    osld.Shapes.Title.TextFrame.TextRange = oTxR.Characters
    oshp.Delete
    Else
    'Reset slide - is ther now a title?
    CommandBars.ExecuteMso ("SlideReset")
    DoEvents
    If osld.Shapes.HasTitle Then
    osld.Shapes.Title.TextFrame.TextRange = oTxR.Characters
    oshp.Delete
    End If
    End If
    'still no title
    If Not osld.Shapes.HasTitle Then MsgBox "No Title Found", vbCritical
    End Sub

    I also created this variation that will copy the formatting and position of the selected object to the title rather than using the layout's title placeholder format. For some reason, it isn't working as well if the original object selected is a place holder
    object - It doesn't copy the aligment and the original placeholder gets a little buggy - So if anyone has any ideas on that one, please let me know.

    Sub SwapTitle()
    Dim osld As Slide
    Dim oshp As Shape
    Dim oTxR As TextRange
    Dim L As Single
    Dim T As Single
    Dim W As Single
    Dim H As Single

    If ActiveWindow.Selection.Type = ppSelectionNone Or _
    ActiveWindow.Selection.Type = ppSelectionSlides Then Exit Sub
    If ActiveWindow.Selection.ShapeRange.Count 1 Then Exit Sub

    Set oshp = ActiveWindow.Selection.ShapeRange(1)
    L = oshp.Left
    T = oshp.Top
    W = oshp.Width
    H = oshp.Height
    Set osld = oshp.Parent
    Set oTxR = oshp.TextFrame.TextRange
    oshp.PickUp
    'is there a title placeholder?
    If osld.Shapes.HasTitle Then
    osld.Shapes.Title.TextFrame.TextRange = oTxR.Characters
    osld.Shapes.Title.Apply
    With osld.Shapes.Title
    .Top = T
    .Left = L
    .Width = W
    .Height = H
    End With
    oshp.Delete
    Else
    'Reset slide - is ther now a title?
    CommandBars.ExecuteMso ("SlideReset")
    DoEvents
    If osld.Shapes.HasTitle Then
    osld.Shapes.Title.TextFrame.TextRange = oTxR.Characters
    osld.Shapes.Title.Apply
    With osld.Shapes.Title
    .Top = T
    .Left = L
    .Width = W
    .Height = H
    End With
    oshp.Delete
    End If
    End If
    'still no title
    If Not osld.Shapes.HasTitle Then MsgBox "No Title Found", vbCritical
    End Sub

    Also if you happen to see anywhere this code is being wasteful, please let me know, as I'm still learning to become effecient.

  • RELEVANCY SCORE 2.54

    DB:2.54:What's The Best Way To Detect That Text Fits Into Containercontrollers Without Scrolling? sd



    Hi.

    Question

    What's the best way to detect that text typed by user (or added programmatically) exceeds available container space and find out where starts truncated part? Is there available some other (than described bellow) easy way to detect it or disallow set of controllers to receive more characters that can be displayed in given composition area?

    My partialy failed attempt (simplified)

    For example lets say that I've got an editable textflow with attached two instances of ContainerController.

    var flow:TextFlow = createSomeFlowFromGivenString(sampleText),
    firstController = new ContainerController(firstSprite, 100, 30),
    lastController = new ContainerController(secondSprite, 600, 30);

    flow.interactionManager = new EditManager(new UndoManager());
    flow.flowComposer.addController(firstController);
    flow.flowComposer.addController(lastController);

    flow.flowComposer.updateAllControllers();

    DB:2.54:What's The Best Way To Detect That Text Fits Into Containercontrollers Without Scrolling? sd


    I've tried something like that previously, but it didn't work because then I've got vertical scroll policy to set to 'auto'. After changing verticalScrollPolicy to ScrollPolicy.OFF in the last container it worked like a charm.

    Thanks zhen bian

  • RELEVANCY SCORE 2.54

    DB:2.54:Detect The End Of File dj


    when reading a text file, how to detect the end of file? I used equals(null) and equals("") both getting error messages.

    Thanks.

    DB:2.54:Detect The End Of File dj

    For reading charecter files, a BufferedReader is most likely the best way. null is a reference, just like any other object, it's just a special reference. You can use == on any two objects, but you will only be comparing whether they reference the same memory, not whether or not their "insides" are equals.

    Object o1 = new Object();
    Object o2 = new Object();
    o1 = o2;

    System.out.println(o1 == o2); // will print out true;

    Strings have some funny rules though, because literal Strings are objects too.

    String s = "Name";
    String p = "Name";
    System.out.println(s == p); // will print out true;

    However:
    String s = "Name";
    String p = new String("Name");
    System.out.println(s == p); // "could" print out false;

    And then there is

    System.out.println(p.intern() == s); // will print true

    The JVM keeps a table strings. Literal string are in the table, to their references are always the same. Any other string can be put in the table by using the intern() method. This helps in programs that use a ton of Strings. It help reduce memory usage for redundent Strings.

  • RELEVANCY SCORE 2.54

    DB:2.54:How To Detect Whether The Device Support Unicode k1



    Hi I am developing an application to display unicode text. It works fine in most devices but when I run it on 9550 if shows only black rectangle. That means that the device not support unicode. How can i detect this by code. Please help me

    DB:2.54:How To Detect Whether The Device Support Unicode k1


    I guess 95xx did not support indic languages. The support came in OS 6.0

  • RELEVANCY SCORE 2.53

    DB:2.53:Detect If Horizontal Scrollbar Is Visible In Word 2007? 7d


    Does anyone know how to reliably detect if the horizontal scrollbar is visible in Word 2007?
     
    There is a Window.DisplayHorizontalScrollbar property:
    http://msdn.microsoft.com/en-us/library/bb148334.aspx
     
    In Word 2007, the value of this property only seems to tell is a horizontal scrollbar *should* be displayed on horizontal overflow ... however, in 2007, the scrollbar is not displayed unless the document width exceeds the usable window width. As a result, if Window.DisplayHorizontalScrollbar is true, then I need a way to reliably determine if the scrollbar is actually visible (i.e., the document width exceeds the window width).
     
    Any ideas?
     
    In Word 2003 this is not an issue ... the horizontal scrollbar is always displayed when this property is true, even if the document width fits into the window.

    DB:2.53:Detect If Horizontal Scrollbar Is Visible In Word 2007? 7d

    Does anyone know how to reliably detect if the horizontal scrollbar is visible in Word 2007?
     
    There is a Window.DisplayHorizontalScrollbar property:
    http://msdn.microsoft.com/en-us/library/bb148334.aspx
     
    In Word 2007, the value of this property only seems to tell is a horizontal scrollbar *should* be displayed on horizontal overflow ... however, in 2007, the scrollbar is not displayed unless the document width exceeds the usable window width. As a result, if Window.DisplayHorizontalScrollbar is true, then I need a way to reliably determine if the scrollbar is actually visible (i.e., the document width exceeds the window width).
     
    Any ideas?
     
    In Word 2003 this is not an issue ... the horizontal scrollbar is always displayed when this property is true, even if the document width fits into the window.

  • RELEVANCY SCORE 2.52

    DB:2.52:Conditional Text jj


    Hi all,

    I want one solution,I am using apex tool,I want a text that is to be displayed when sql report exceeds a certain limits of results(or row) After user submitting for generation of reports.

    thanks

    DB:2.52:Conditional Text jj

    Hi all,

    I want one solution,I am using apex tool,I want a text that is to be displayed when sql report exceeds a certain limits of results(or row) After user submitting for generation of reports.

    thanks

  • RELEVANCY SCORE 2.52

    DB:2.52:How Can I Detect The Vertices Of A Rectangle In My Image ? 9c


    I have applied a gradientMagnitude operator to my Image, and now I can see the shape of a rectangle with also other lines.

    How can I detect the vertices of the rectangle in my image?

    thank you

    DB:2.52:How Can I Detect The Vertices Of A Rectangle In My Image ? 9c

    I have applied a gradientMagnitude operator to my Image, and now I can see the shape of a rectangle with also other lines.

    How can I detect the vertices of the rectangle in my image?

    thank you

  • RELEVANCY SCORE 2.52

    DB:2.52:Clipping Of Swinglabel m1


    Hi,

    does anyone know how to clip SwingLabel or controls in general? I'd like to create a component that displays HTML formatted text. I've got a rectangle that should contain SwingLabel and this SwingLabel has a ScrollBar attached to it. So far, I have problem with clipping of text - it exceeds size of the rectangle. The only way how to avoid it now is to have same color of text and background (scene, stage, node).

    DB:2.52:Clipping Of Swinglabel m1

    This is how it looks and feels like:
    [http://www.dredwerkz.cz/2010/04/19/javafx-resizable-html-node-demo]

  • RELEVANCY SCORE 2.52

    DB:2.52:Select Nearest Black Rectangle 3f



    Hi I want to select the nearest black rectangle to the text frame

    DB:2.52:Select Nearest Black Rectangle 3f


    Hi I want to select the nearest black rectangle to the text frame

  • RELEVANCY SCORE 2.51

    DB:2.51:Hit Detection On Shapes za


    i am working on a small paint program...
    and have a big problem..how can i detect when user click's
    on shape when there are multiple identical shapes drawn (eg. 2 Rectanges)..

    my code (i read about it on java.sun.com/2d_tutorial)
    detects only last shape from each group drawn (eg. last Rectangle ) :
    Rectangle rect = new Rectangle

    if (rect.contains(getX(),getY()))
    do something....

    DB:2.51:Hit Detection On Shapes za

    Yeah, I did something very similar once. You could put all your shapes into a TreeSet and write a Comparator that sorts them by some sort of ZOrder (which can be a number set by you, the user, or maybe just certain shapes ahead of others), as you loop through checking for hit detection, you know the first occurence is the one you want.

  • RELEVANCY SCORE 2.51

    DB:2.51:Why Is My Black Rectangle Transparent After Saving It As Pdf? dc



    So, I'm creating a logotype. It consists of a black rectangle and then there is some white text on top of it. However, when I save the file as pdf, the whole file is transparent. How do I fix this?

  • RELEVANCY SCORE 2.51

    DB:2.51:Problems With Reportdocument m3


    I use the control ReportDocument to print a dataset.If the content of the column of the dataset exceeds the margins of page, the text is cut.How do to print this text when it is so long and exceeds the margins? The text would go at new line.Thanks.

    DB:2.51:Problems With Reportdocument m3

     
    I'm assuming you're using SQL2005 Reporting Tools:
     
    Right click on the cell containing your data and select Properties
    Now locate the Format tab in the properties dialogue and select it.
    Make sure the Can increase to accommodate contents check box is ticked.
     
     
    further: Make sure the width of your report + left margin + right margin (from report Properties) does not exceed the width of the page in Report Properties.
     
    Good Luck.
     
     
     

  • RELEVANCY SCORE 2.51

    DB:2.51:Custom Wpf Scroll Viewer: Disable The Scroll Bar When Not Needed.. j8


    I have a custom scroll viewer / scrollbar template that seems to work fine. The scroll bar has been modified so that all that remains is a rectangle for the 'thumb' component. There is nothing else in the bar so that the rectangle lands on top of the viewer
    nicely. As the viewer is resized, the scroll bar thumb rectangle enlarges with it, until of course it matches or exceeds the size of the viewer. At that point I would like the bar'svisibleproperty to be set to invisible because it's not needed
    the the white space of the thumb is not visually appealing is there a setter property I can use on the ScrollViewer to set the bar to invisible once the ScrollViewer size has exceeded the necessity of the bar?

    Thanks,
    Matthew

    DB:2.51:Custom Wpf Scroll Viewer: Disable The Scroll Bar When Not Needed.. j8

    Hi mososky,
    Any updates of your issue?Sheldon _Xiao[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.51

    DB:2.51:Size Of Text Excedding The Larger Of The Cell 7p


    I would like to know if there is a way so that when texte size exceeds the cell larger size the text can overtake the cell on the right.Thank you

    DB:2.51:Size Of Text Excedding The Larger Of The Cell 7p

    No, there is no way with the CVI table control to have the cell value exceed the bounds of the cell. It will always be truncated by the cell bounds.Best Regards,Chris MatthewsNational Instruments

  • RELEVANCY SCORE 2.51

    DB:2.51:Graph Applet 13


    hello,

    i wish to draw a line graph in a certain region(ex. rectangle),even when exceeds the dimentions of the rectangle i want to display the current plot...

    for ex. http://java.sun.com/products/java-media/2D/samples/java2demo/Java2Demo.html

    in Arcs_Curves one can see a line plot at rightbottom ,shifting the curve to left,i need the same logic ,ofcourse i have the running curve..

    just i need the logic how the curve is moving to left.
    any suggestons are accepted...a few lines of code is too good...

    thank you,
    bhaskar..

    DB:2.51:Graph Applet 13

    hello,

    no...its not in my case ,i need it according to my code,i dont want to fit whole graph in the box..but when it crosses the dimention i want to disappear the leftmost(first) point so the curve shiftes to left ,then i want to display the new point...this will be done so untill the main loop ends...

    any idea about this...

    thank you...

    bhaskar

  • RELEVANCY SCORE 2.50

    DB:2.50:To Check The Length Of Characters Added In Text Box 3s


    how can i check that the number of characters entered in the text box is not more than the number of characters i want...it shud give a error message when exceeds the limit of characters.

    Thanks...all help is appreciated.

    DB:2.50:To Check The Length Of Characters Added In Text Box 3s

    can you write me the exact method which should be added.1) What is a text box? How can we answer your question if we don't know what component you are talking about.

    2) If this is a Swing component then Swing related questions should be posted in the Swing forum.

    3) Why don't you actually read the JTextField API, which contains a link to theSwing tutorial on "How to Use Text Fields", which in turn has a link showing you how to create a custom Document that limits the number of characters in a text field.

    4) Of course you can also use a JFormattedTextField to do this as well, but that would also require you to read the API and tutorial.

  • RELEVANCY SCORE 2.50

    DB:2.50:Area Text (Text In A Path) Not Working Design 3 Sp-1 xf


    I am following a tutorial and in dealing with text on a path and text in a path the later does not work properly. Using a rectangle and then the text tool with shift key held don the text will not insert at top of rectangle and will not wrap. When using the object attach area text the text does not appear at all but will reappear with the object text on path release text command. Has anyone had similar results? A word search of the forum suggest NO.

    DB:2.50:Area Text (Text In A Path) Not Working Design 3 Sp-1 xf

    I am following a tutorial and in dealing with text on a path and text in a path the later does not work properly. Using a rectangle and then the text tool with shift key held don the text will not insert at top of rectangle and will not wrap. When using the object attach area text the text does not appear at all but will reappear with the object text on path release text command. Has anyone had similar results? A word search of the forum suggest NO.

  • RELEVANCY SCORE 2.50

    DB:2.50:Just Want To Draw A Rectangle! 91


    This should be simple: I want to add a thin black rectangle over a picture and then add a text subtitle over that box.
    I went into Video Generators, Shapes,Rectangle
    Made the colour black, changed the size, fixed the position.
    When I edit it (into video layer 2) the size of my thin, lower third black rectangel takes up over half the screen!
    What am I doing wrong?

    DB:2.50:Just Want To Draw A Rectangle! 91

    Sorry Andy,
    I think I might have misunderstood your post,
    are you suggesting that you would want to use some sort of lower third background?
    If so lines is not necessarily what you need.

    You can still try out Andy's filter, also I have another filter of mine that might fit the bill. [Here you can find it|http://www.videonline.co.uk/Lucas_Shapes.htm], check out demo and try it out, it is free like the previously mentioned generator.
    If you need it to be solid black than simply use the color parameter and set H, S, B to 0 then adjust, size, aspect and position as you wish.

    Best,
    Luca

    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • RELEVANCY SCORE 2.50

    DB:2.50:Rectangle Collision Detection mf


    Hello!
    I am new to this forum and i have been working with graphics in system.drawing for a quiet long time.
    But there is one thing that i dont know how to fix. And it is to detect collision of a rectangle with any rectangle in the form.
    I want something like this:

    Dim SomethingRect As Rectangle = New Rectangle(LocationX, LocationY, Something.Width, Something.Height)
    .DrawImage(Something, SomethingRect)

    For Each FormRectangles As Rectangle In Me.Rectangles
    If SomethingRect.IntersectWith(FormRectangles) then
    MsgBox(Colliding!)
    end if
    Next
    The code above dont work but i want something simular.
    Sumary: I want to know when a rectangle coliding with (any) rectangle in the form.

    DB:2.50:Rectangle Collision Detection mf

    I figured it out by myself but with idea from Paul Ishak's sugestion.
    I used a list, and added all rectangles to it and when the main rectangle colided with one of the other rectangles through a for each i got a response!
    Thanks for spending your time helping me with this!

  • RELEVANCY SCORE 2.50

    DB:2.50:How To Draw Text Or Rectangle In Circle Form (Chellanging Question) kx


     
    I want to draw rectangles in Circle form. As following
     
                                            Rectangle
     
                           Rectangle                      Rectangle
     
                      Rectangle                                 Rectangle
     
                   Rectangle                                       Rectangle
     
                    Rectangle                                  Rectangle
     
                           Rectangle                    Rectangle
     
                                             Rectangle
     
    Please write code that draw rectangles in this forms, for example if i want to draw 8 rectangles in that form, i can draw it.
    Noted i am drawing rectangles using my own function
    Rectangle(x1,y1,x2,y2);
     
    i just need how to draw these rectangles in Circle form
     
     

    DB:2.50:How To Draw Text Or Rectangle In Circle Form (Chellanging Question) kx

    Message to MadeInCode: I've warned you before.  Links to owned websites may only appear in the signature line.  Please stop using these forums as a tool to increase traffic to your site.

  • RELEVANCY SCORE 2.50

    DB:2.50:Text Inside A Rectangle Dynamically In Stackpanel c7


    I want to add a rectangle in a StackPanel, then text inside the rectangle. How can it be achieved?

    DB:2.50:Text Inside A Rectangle Dynamically In Stackpanel c7

    Got it, Looks like this is working
    Border rectangleborder = new Border();
    rectangleborder.Background = new SolidColorBrush(Colors.White);
    rectangleborder.BorderBrush = new SolidColorBrush(Colors.Black);
    rectangleborder.BorderThickness = new Thickness(2);
    rectangleborder.Width = 200;
    rectangleborder.Height = 60;
    TextBox textbox = new TextBox();
    textbox.IsReadOnly = true;
    textbox.Text = Text in a Rectangle;
    meetingScheduleStack.Children.Add(rectangleborder);
    rectangleborder.Child = textbox;

  • RELEVANCY SCORE 2.50

    DB:2.50:Diplay Objects Inside Rectangle zc


    Hi,

    While Creating a report, When I put a rectangle in the Header portion of the report , the text items and

    fields inside this rectangle are not displaying. How can I solve this problem?

    With Thanks, Naseer

    DB:2.50:Diplay Objects Inside Rectangle zc

    Hi Naseer,

    While Creating a report, When I put a rectangle in the Header portion of the report , the text items and

    fields inside this rectangle are not displaying. How can I solve this problem?Select the rectangle and then from the Menu Bar Arrange Send To Back. Or Just select the rectangle and press F6.

    Hope this helps.

    Best Regards

    Arif Khadas

  • RELEVANCY SCORE 2.49

    DB:2.49:Print When Textarea Has Overflow da



    I have a form with some textareas that allow a scroll bar when the text exceeds the text box. The user would like to be able to print the screen, and this text is not visible. How do i make all of the text visible for just printing?

    Please provide the solution

    DB:2.49:Print When Textarea Has Overflow da


    I have a form with some textareas that allow a scroll bar when the text exceeds the text box. The user would like to be able to print the screen, and this text is not visible. How do i make all of the text visible for just printing?

    Please provide the solution

  • RELEVANCY SCORE 2.49

    DB:2.49:Textfield Append a9


    hai friends
    i have a textfield
    I got the pblm while adding textlistener to this text field.
    I have to append a colon ":" to that textfield when the textfield length exceeds 2 characters
    When i try with append method it is giving some error.
    please tell me how can i append [:] a colon to the textfield when it exceeds its length 2 chars.
    Thanks in advance
    Yours
    Rajesh

    DB:2.49:Textfield Append a9

    hi
    Thankyou VeryMuch
    I used setCaretPosition like this in my program

    if(textField.getText().length()=2)
    {
    while (textField.getText().length()3)
    {
    textField.setText(textField.getText()+":");
    }
    textField.setCaretPosition(4);
    if(textField.getText().length()=5)
    {
    while (textField.getText().length()6)
    {
    textField.setText(textField.getText()+":");
    }
    textField.setCaretPosition(7);
    }
    if(textField.getText().length()7)
    {
    textField.transferFocus();
    }
    }

    This is working Fine
    Your Code helped me a lot
    Thanks Once Again
    Yours
    Rajesh

    use
    setCaretPosition(textField.getText().length());

  • RELEVANCY SCORE 2.49

    DB:2.49:Add A Hyperlink Within A Scrollable Content 9j



    I have created an Scrollable Content using the technique explained by Bob Bringhurst on his iPad application but I need now that some text in the content has a hotspot where the user can click and link to a external web site.

    I have added a rectangle to the content group but when the content moves, the rectangle is moving too and it doesn't match the text position...How can I place the rectangle to a specific position (text) within the content group so I can click on that part and go to a external link?

    Saludos,Leo

    DB:2.49:Add A Hyperlink Within A Scrollable Content 9j


    Yes, the new version of authoring tools that lets you add hyperlinks to scrollable frames will be available in about a week.

    Sent from my iPad

  • RELEVANCY SCORE 2.49

    DB:2.49:Text Boxes And Rectangle Tool Issues cp



    When I open a new document and use the text or rectangle tool, the box I create on the screen is angled. I can't get these tools to create a straight box.

    DB:2.49:Text Boxes And Rectangle Tool Issues cp


    I know, I have no idea how this setting was changed.

    Sent from my iPhone

  • RELEVANCY SCORE 2.49

    DB:2.49:Label Wrap : Selectoneradio ja


    I need to wrap text of a selectOneRadio when it exceeds some fixed length.
    The source value set of selectOneRadio from an LOV. I want to wrap the text of label.

    I tried the alternate(inlineStyle="display:inline-block; width:80px;") mentioned in Wrap Long text lines for selectBooleancheckbox

    But a scroll bar appreared ig the length exceeds 80px instead of being wrapped.

    Could some one please tell me how to wrap the label of a selectOneRadio component.

    DB:2.49:Label Wrap : Selectoneradio ja

    Hi,

    The question is clear but there is no easy solution. The approach from the other thread is not applicable here because it is relevant to af:outputText but the HTML generated by af:selectOneRadio is very different. I tried to find a solution using skinning but with no success. Please, have a look at this blog post for some ideas how to debug the CSS attributes and hopefully you may be able to find a solution yourself:

    http://technology.amis.nl/blog/5722/using-adf-faces-11g-skinning-for-setting-the-styles-of-specific-component-instances-or-groups-of-instances

    Dimitar

  • RELEVANCY SCORE 2.49

    DB:2.49:Condensing Dc.Drawstring() Text To Fit Rectangle Region fx


    Hello all,I am looking for a way to condense (squash) the text if it exceeds the length of the rectangle region it is in.What is the best way to do this?

    DB:2.49:Condensing Dc.Drawstring() Text To Fit Rectangle Region fx

    private void DrawStringShrink2Fit(Graphics g, string value, Font font, Brush brush, RectangleF rect) { SizeF size = g.MeasureString(value, font, (int)rect.Width); if ((size.Height = rect.Height) || font.Size = 1) // fit? g.DrawString(value, font, brush, rect); // then draw! else { // otherwise shrink font float shrinkFactor = (float)Math.Sqrt(rect.Height / size.Height); using (Font smallerFont = new Font(font.FontFamily, (float)Math.Min(font.Size - 1, font.Size * shrinkFactor))) DrawStringShrink2Fit(g, value, smallerFont, brush, rect); // and call function recursively } }
    This function will shrink the used font till the string fits the rectangle. Instead of slowly decreasing font.Size by one like in Andres Cabral's post, it starts by using a heurisics to estimate the necessary shrink factor, making the code much faster.

  • RELEVANCY SCORE 2.49

    DB:2.49:Determining The Number Of Lines Inside A Textbox Control When In Wordwrap-Enabled Mode 71


    For .NET Compact Framework (Version 1.0), I am wondering how to determine the number of lines in a TextBox control when it is in automatic wordwrap mode.Alternatively, how do I detect the minimum bounding rectangle for aTextBox control in order to display all text visibly without clipping?I tried to do this, and I can do this under regular .NET but I can't do so on Compact Framework. Are there any workarounds I can do?Thanks,Mark Rejhon

    DB:2.49:Determining The Number Of Lines Inside A Textbox Control When In Wordwrap-Enabled Mode 71

    MeasureStringExtend worked very well but sometimes I needed to display a few kilobytes of read-only text (which was rare, but due to the nature of the application I am working with). This is extremely slow.I came up with a creative solution for PocketPC (2002 and later) to copy a Label to a temporary TextBox, do the EM_GETLINECOUNT method, and then size the Label according to the size of the TextBox. I came up with a routine that counted the number of pixels of margin around a textbox (which is 6 pixels normally, 3 pixels on each edge), so that I could more instantly count the lines of text in huge amount of text (i.e. 10 kilobytes)However, for SmartPhones, EM_GETLINECOUNT does not seem to work (SmartPhone 2003), so for SmartPhones, I greatly improved AlexY's method of MeasureStringExtend( ) so that it was pixel-perfect even for 18 kilobytes of word-wrapped text with unexpected control characters including linefeeds and tabs. (Although I had to convert tabs to 8 spaces first). Very slow to count the number of lines in 18 kilobytes of text, but it came up with the correct exact number of lines.Further improvements to MeasureStringExtend could be done, to speed it up such as making a length approximation and counting upwards/downwards from it, rather than doing it one character at a time, or even using a lookup table on character widths that's dynamically updated everytime a new character is found, but this would be overkill...It was a big challenge staying away from CF 2.0, but I've managed to stay with CF 1.0 and at the same time, having the same executable run PPC2002, WM2003, WM2003SE, and SmartPhone 2003 without recompiling. Now to figure out how to make an installer that installs on any of those...

  • RELEVANCY SCORE 2.49

    DB:2.49:Cat 4 Unicast Flooding Detection Feature k9



    found below from cisco website. Is this supported on Cat4? thanks!

    How to Detect Excessive Flooding

    Most switches implement no special command to detect flooding. Catalyst 6000 Supervisor Engine 2 and higher running Native IOS software 12.1(19)E and higher implements 'unicast flood protection' feature. In short this feature allows the switch to monitor the amount of unicast flooding per vlan and take specified action if flooding exceeds specified amount. Actions can be to syslog, limit or shutdown vlan - the syslog being the most useful for flood detection. When flooding exceeds the configured rate and the action configured is syslog, message similar to the following will be printed:

    %UNICAST_FLOOD-4-DETECTED: Host 0000.0000.2100 on vlan 1 is flooding to an unknown unicast destination at a rate

    greater than/equal to 1 Kfps

    DB:2.49:Cat 4 Unicast Flooding Detection Feature k9


    I don't think it is available in cat 4k. You can try to look in the Feature Navigator tool.

  • RELEVANCY SCORE 2.49

    DB:2.49:Blank Rectangle On Desk-Top At Start-Up xp


    When the maching comes up there is a large blank rectangle that is displayed on the desktop and there is an indicator on the mimimize bar that has no text but does have a black square. Right clicking on this brings the rectangle to the front of the display.
    There isn't any option for closing this display. I don't know how to get rid of it. I assume that it comes up on start-up but I don't know how to block it.

    DB:2.49:Blank Rectangle On Desk-Top At Start-Up xp

    Do you know when this problem began? Try a System Restore to a point in time
    BEFORE the problem began. Here's the procedure: http://www.howtogeek.com/howto/windows-vista/using-windows-vista-system-restore/.
    Be sure to check the box to show more than 5 days of restore points. If the first attempt fails, then try an earlier point or two. NOTE: You will have to re-install any software and updates you installed between now and the restore point, but you can use
    Windows Update for the updates. Use the recovery disk if the system prompt doesn’t work (the procedures may vary slightly with the disk but if you follow the prompts and with the above information you should be able to get through it just fine).
    If that doesn't work, do a clean boot
    http://support.microsoft.com/default.aspx/kb/929135?p=1and see if the problem persists. If the black rectangle disappears, then follow the procedures in the article to find the culprit causing the problem and remove it from startup or uninstall it or
    delete it (whichever is appropriate depending on what it is). Once done be sure to return the system to normal status as described in the article and reboot.
    If that doesn't work go to
    http://technet.microsoft.com/en-us/sysinternals/bb963902.aspxand run Autoruns checking the Everything Tab. Uncheck everything and then reboot and see if the problem persists. If it goes away, then return to Autoruns and check ONLY those programs and
    processes that you need to run at startup (I'm sure you don't need most of them). Then reboot again and you should be all set.
    If that doesn't work you may be infected with malware. Try to run anti-malware programs (in safe mode with networking if
    necessary).To fix this problem (if it is a problem) download,install, and run the following two programs:
    http://www.malwarebytes.org/mbam.phpand
    http://www.safer-networking.org/en/index.html. You may also want to try a free trial of Pandasoft (http://www.pandasecurity.com/usa/homeusers/solutions/global-protection/).
    Before downloading pandasoft, uninstall whatever anti-virus program you are currently using (because installing and running two at the same time can cause conflicts, freezes, and all sorts of problems). Once you've uninstalled your current AV program, download,
    install, update, and scan using Pandasoft. I think you might be amazed at how much it finds that the other software missed. Once complete, uninstall pandasoft and re-install your current AV program (unless you decide to switch which I did when I first tried
    it about 4 years ago). You may also want totry the new, free Microsoft Security Essentials
    http://www.softpedia.com/progDownload/Microsoft-Security-Essentials-Download-131683.html
    (with the same caveat that only ONE AV program can be installed and running on your system at any one time).
    You may also want to try the free Avira at: http://www.free-av.com/ and Avast at:
    http://www.avast.com/index.
    Reboot after completing all the scans. You may also want to try the free OneCare at
    http://onecare.live.com/site/en-us/default.htm and let it run all the options (except the registry cleaner) because that’s good maintenance (it will take
    some time to complete but can be done in the background).
    I hope this helps.
    Good luck!

    Lorien - MCSE/MCSA/Network+/A+ --- If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.

  • RELEVANCY SCORE 2.49

    DB:2.49:Close A Picture By Click A Rectangle Like A "X" mc



    on my website shell show a picture and when i click on a rectangle with a text, the picture was closed, also the rectangle and the text!

    DB:2.49:Close A Picture By Click A Rectangle Like A "X" mc


    Hi,

    Try Slideshow widget- lighbox in Muse with only one one thumbnail. and enable close button. As shown in the image below

    and check the preview, it should give you the effect which you are looking for.

    Let us know if you need something else.

  • RELEVANCY SCORE 2.49

    DB:2.49:How To Get Rid Of A Reddish Transparent Rectangle On The Right Side Of The Viewer Window xj


    Hi, I can't get rid of a reddish transparent rectangle (about 5mm x 1cm) on the right side of my viewer window. It appeared there when I was editing text in the final credits of the movie. Can you help? Thanks.

    DB:2.49:How To Get Rid Of A Reddish Transparent Rectangle On The Right Side Of The Viewer Window xj

    Ian R. Brown wrote:I think it's called "THIS tiny beast". LOL! looking forward to Randy U.'s next presentation, showing the new improved Ttb .... ("now in blue! And on Retina displays even tinier!")

  • RELEVANCY SCORE 2.48

    DB:2.48:Drawing Rectangle On Datagridview Problem cp


    Hi
    I have two questions:
    - wheter I am doing my task in a good way
    - why when I scroll dataGridView, painted rectangles dissapear..
    - why painting is so slow...
    Here is the code in which I want to draw a colorful rectangle with text on groups of cells in each column, that have the same values, empty values shouldn't have rectangles
    This test code draws a vertival rectangle and its fine until you scroll :(
    foreach (DataGridViewColumn column in this.dataGridView1.Columns){


    foreach (DataGridViewRow row in this.dataGridView1.Rows){

    if ( row.Index 0 column.Index0){
    Rectangle rect = this.dataGridView1.GetCellDisplayRectangle(
    column.Index, row.Index,true);
    DataGridViewCell cell = dataGridView1.Rows[row.Index].Cells[column.Index];
    if ( cell.Value!=null){

    /////////tempRectYEnd = rect.Location.Y;

    Rectangle newRect = new Rectangle(655,

    55 , 5 ,

    444 );
    using (
    Brush gridBrush = new SolidBrush(Color.Coral),
    backColorBrush = new SolidBrush(Color.Coral))
    {
    using (Pen gridLinePen = new Pen(gridBrush))
    {

    e.Graphics.FillRectangle(backColorBrush,newRect);

    } }

    }
    }}}

    DB:2.48:Drawing Rectangle On Datagridview Problem cp

    using System;
    using System.Collections.Generic;
    using System.Drawing;
    using System.Windows.Forms;

    class Form1 : Form
    {
    [STAThread]
    static void Main()
    {
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.Run(new Form1());
    }

    DataGridView dgv;

    public Form1()
    {
    Controls.Add(dgv = new DataGridView { Dock = DockStyle.Fill, CellBorderStyle = DataGridViewCellBorderStyle.None });

    int?[] samples = { null, 1, 2, 3, };
    Pen[] pens = { Pens.Black, Pens.Coral, Pens.CornflowerBlue, Pens.Fuchsia };
    Random rand = new Random(1);
    ListMyDataObject data = new ListMyDataObject();
    for (int n = 0; n 25; n)
    data.Add(new MyDataObject
    {
    One = samples[rand.Next(samples.Length)],
    Two = samples[rand.Next(samples.Length)],
    Three = samples[rand.Next(samples.Length)],
    Four = samples[rand.Next(samples.Length)],
    Five = samples[rand.Next(samples.Length)],
    });
    dgv.DataSource = data;
    dgv.CellPainting = (s, e) =
    {
    int columnIndex = e.ColumnIndex;
    int rowIndex = e.RowIndex;
    if (columnIndex = 0 rowIndex = 0)
    {
    object thisValue = e.Value;

    if (thisValue != null)
    {
    Pen groupPen = pens[Convert.ToInt32(thisValue) % pens.Length];
    e.PaintBackground(e.ClipBounds, (e.State DataGridViewElementStates.Selected) == DataGridViewElementStates.Selected);
    if (rowIndex - 1 0 || !Object.Equals(dgv.Rows[rowIndex - 1].Cells[columnIndex].Value, thisValue))
    e.Graphics.DrawLine(groupPen, e.CellBounds.Left, e.CellBounds.Top, e.CellBounds.Right - 1, e.CellBounds.Top);
    e.Graphics.DrawLine(groupPen, e.CellBounds.Left, e.CellBounds.Top, e.CellBounds.Left, e.CellBounds.Bottom - 1);
    e.Graphics.DrawLine(groupPen, e.CellBounds.Right - 1, e.CellBounds.Top, e.CellBounds.Right - 1, e.CellBounds.Bottom - 1);
    if (rowIndex 1 = dgv.Rows.Count || !Object.Equals(dgv.Rows[rowIndex 1].Cells[columnIndex].Value, thisValue))
    e.Graphics.DrawLine(groupPen, e.CellBounds.Left, e.CellBounds.Bottom - 1, e.CellBounds.Right, e.CellBounds.Bottom - 1);
    e.PaintContent(e.ClipBounds);
    e.Handled = true;
    }

    }
    };
    }
    }

    class MyDataObject
    {
    public int? One { get; set; }
    public int? Two { get; set; }
    public int? Three { get; set; }
    public int? Four { get; set; }
    public int? Five { get; set; }
    }

  • RELEVANCY SCORE 2.48

    DB:2.48:Re: Change Mtext Height Until It Fits Rectangle? f3


    is this possible?

    1. draw rectangle
    2. write mtext in this rectangle (up-left and down-right are corners of rectangle)
    3. check if mtext rectangle interact
    4. if so, decrease text height until mtext rectangle are no longer in contact

    i searched the forum, but i didn't find concrete Vlisp solution for this...

    thnx

    DB:2.48:Re: Change Mtext Height Until It Fits Rectangle? f3

    thnx Fixo but this only fits text vertically in rectangle and I need both vertical and horizontal mtext alignment in rectangle

  • RELEVANCY SCORE 2.48

    DB:2.48:How To Draw Speech Balloon Like Cloud Using Core Craphic? fm


    I want to make speech balloon like this When i made rounded rectangle speech balloon, i used this wayrectangle = CGRectMake(0, 0, 100, 100); CGFloat minx = CGRectGetMinX(rectangle), midx = CGRectGetMidX(rectangle), maxx = CGRectGetMaxX(rectangle);CGFloat miny = CGRectGetMinY(rectangle), midy = CGRectGetMidY(rectangle), maxy = CGRectGetMaxY(rectangle);But i don't know how to draw the speech balloon like that imageIs it possible using rectangle when i drew rounded rectangle ?

    DB:2.48:How To Draw Speech Balloon Like Cloud Using Core Craphic? fm

    I want to make speech balloon like this When i made rounded rectangle speech balloon, i used this wayrectangle = CGRectMake(0, 0, 100, 100); CGFloat minx = CGRectGetMinX(rectangle), midx = CGRectGetMidX(rectangle), maxx = CGRectGetMaxX(rectangle);CGFloat miny = CGRectGetMinY(rectangle), midy = CGRectGetMidY(rectangle), maxy = CGRectGetMaxY(rectangle);But i don't know how to draw the speech balloon like that imageIs it possible using rectangle when i drew rounded rectangle ?

  • RELEVANCY SCORE 2.48

    DB:2.48:How A Read A Data From Jpeg File In C# sk


    Hi Folks,
    I am new to C#.
    I have a Jpeg file with 6 rectangles and a text written on each rectangle at top left corner of it.Can I read a text in c# from jpeg file and associated it with its corresponding rectangle(since text lies within rectangle boundaries).
    The requirement is When I drag and drop on particular rectangle I should be able to recognize on which rectangle the user has dropped.
    Or is there any other format that jpeg can be converted where I can implement the above mentioned functionality.

    Thanks a lot!!!!!!!

    DB:2.48:How A Read A Data From Jpeg File In C# sk

    There's no text in a jpeg file, just an image that appears as text to you, which is not easily extracted (scanners with OCR capability can do it).
    If the rectangles are always the same size, you can easily detect in which of them the user clicked, but you'll have to get the information (text) that corresponds there by some other means (like a text file or a database record referring to each jpeg would
    be easiest) unless you want to write your own OCR library.
    Cristian.

  • RELEVANCY SCORE 2.48

    DB:2.48:Incorrect Bounding Rectangle Height After Styling kc


    I am experiencing with incorrect bounding rectangle height when I set the background color for text in RichEditableText field. I have actually custom styled the RET field with following:lineHeight: 49;baselineShift: 11;firstBaselineOffset: lineHeight;verticalAlign: top;When I try to change the background color for certain range of text it doesn't cover the entire line height, although the selection covers the entire line height. Is there any way to increase the height of bounding rectangle or any other workaround to this please?

    DB:2.48:Incorrect Bounding Rectangle Height After Styling kc

    1. I am able to return the TextFlowLine for each line in para but I have seen that some TextLine are marked as INVALID due to which I am unable to get their atom locations. I have tried to force the validity of TextLine to recreate the line but that doesn't work for some lines. Is there any work around to this?When the contents of the TextBlock are modified, the Flash runtime marks affected text lines, the previous line, and all following lines as INVALID. So I think you may want to get the lines[When you try to override TLF source code] after ContainerController.updateCompositionShapes [When you just take advantage of offical TLF library] in the event handler of UpdateCompleteEvent.UPDATE_COMPLETE.2. The highlighter rectangle which I have created, have tried to placed it as a child element of TextLine. Due to this, the highlighter rectangle appear infront of the TextLine. I have tried to positioned it at 0 location using addChildAt but that doesn't seems to work. Is there any work around to this also please?In TLF code, we creat Shape as the child of the container to draw the selection, because TextLine is transparent.

  • RELEVANCY SCORE 2.48

    DB:2.48:Text Alignment In Shapes dc



    I have the same rectangle at the top and bottom of a presentation as a classification banner. When I add text to the rectangle using right-click | Add Text, the text looks aligned exactly as I wish, centered on both the x- and y-axis. However, once previewed or published, the text appears to be aligned at the top of the rectangle. Does anyone else have this issue? Should I just lay a transparent caption over the shape, instead of using Add Text?

    DB:2.48:Text Alignment In Shapes dc


    Oh, sorry, I was talking about CP5-issue.

    In CP4 I always used a transparent text caption on top of a shape, did not like the functionality of the Text in shape there for different reasons (alignment being one of them), especially that it will not nicely flow in a shape (oval, polygon).

    Lilybiri

  • RELEVANCY SCORE 2.48

    DB:2.48:Button/Movieclip Advice 17


    Hi,

    I'm seeking some advice on how to go about developing
    something.

    I need to make a map of Britain which is split up into
    regional areas. On rollover of these regions and text box will
    pop-up and contain some links and things. Everything is fine i can
    do all these things except that it's occured to me that the regions
    are very irregular shapes that are bumped up next to eachother and
    if each region image is it's own movieclip then the catchment area
    for a mouse event will be the containing movieclip (a rectangle of
    some description) not the exact shape of the image inside. Because
    of this movieclipes are going to overlap all over the place so how
    can i detect when the mouse is inside the exact bounds of the
    region.....?

    thanks in advance

    Greg

    DB:2.48:Button/Movieclip Advice 17

    I've found that i use hitArea, so no worries.

    Greg

  • RELEVANCY SCORE 2.48

    DB:2.48:Big Problem With Pdf Export From Cs4 77



    Create a document with facing pages. Then place a rectangle or any other object on the master through the whole spread. Place the text or any other object on the master over the first rectangle on the both pages. Now, when exporting pdf, the text on the left pages is disappeared becaouse it covered by the copy of the rectangle. The variation of the problem is when using any tansparencies, then they become "less transparent" on the left pages because of this strange dublicating.

    There is an archive in attachment that contains indd and pdf files with this problem.

    DB:2.48:Big Problem With Pdf Export From Cs4 77


    I beleive this is a known bug, and the workaround is to not cross the spine (use two rectangles).

  • RELEVANCY SCORE 2.48

    DB:2.48:Rectangle Edge Contains A Dot 3m


    Hi,

    I have a problem: I am implementing drawing area with rectangles which can be moved and should be resized using mouse. The idea is simple - when a user wants to resize a rectangle, s/he just put mouse over an adge of rectangle, push mouse button and move mouse until a rectangle is resized to required size. Then the mouse button is released. And I have a trouble with implementing this feature: I am not able to detect if a mouse click occured exactly on an edge of a rectangle or not. I used the formulas for detecting if a dot belongs to a line, like this:

    double l1=(x0-xa)+(x1-xa);
    boolean l1b=(l1==(x1-x0));
    double l2=(y0-ya)+(y1-ya);
    boolean l2b=(l2==(y1-y0));And some others (like summ of length AB=AC+CB, parametric equestions x=x1+a*(x2-x1), etc.) But all of this does not work.

    Does any one know how to detect if a mouse was clicked on an edge of a rectangle? Please kindly help.

    With best regards and thanks,
    F.

    DB:2.48:Rectangle Edge Contains A Dot 3m

    The easiest way to find a line with the mouse that I have found is to create a small rectangle in your MouseListener class, for every mousePressed event center the rectangle at the mouse point and test if the rectangle intersects any of the lines you are looking for.

  • RELEVANCY SCORE 2.47

    DB:2.47:Off Window Objects Not Rendered When In Window az


    Hi,
    I have a scenario that will require me to have a long list of objects. So long that if you place the list on the screen the objects would go all the way across and then some. I'm using Translation to move the list, so I can see the object that are off the
    screen. However, when I do this, the objects that would be off screen will never be rendered when they should be showing on the screen.
    Therefore, I started testing: I found out that if my browser window is a certain size only the objects that would should without the translation would render. If I increased the size fo the browser window, then my other objects will start being rendered
    the wider I go.
    Before I stretch the window:

    Description: I have the list translated over by like 600 px. Items 1 - 18 are rendered. However, there are 30 items that should be there.
    After I stretch the window:

    Description: I still have the list translated over by like 600 px. The only thing changed is I started to stretch my window wider. Additional, blocks are being rendered.

    Desidered results is that all of my objects in view should be rendered. So if I have the list translated over by 600 px, I should see the other objects that are now in view.
    Thanks,
    Mark
    CODE:

    Grid x:Name=LayoutRoot
    Background=Lavender

    Grid

    Grid.RenderTransform

    TransformGroup

    ScaleTransform/

    SkewTransform/

    RotateTransform/

    TranslateTransform X=-600/

    /TransformGroup

    /Grid.RenderTransform

    Grid.ColumnDefinitions

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    ColumnDefinition Width=50
    /

    /Grid.ColumnDefinitions

    Rectangle Fill=Red
    Margin=5 Grid.Column=0
    Width=50 Height=50 /

    TextBlock Text=1
    Grid.Column=0 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Yellow
    Margin=5 Grid.Column=1
    Width=50 Height=50 /

    TextBlock Text=2
    Grid.Column=1 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Green
    Margin=5 Grid.Column=2
    Width=50 Height=50 /

    TextBlock Text=2
    Grid.Column=2 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Blue
    Margin=5 Grid.Column=3
    Width=50 Height=50 /

    TextBlock Text=3
    Grid.Column=3 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Orange
    Margin=5 Grid.Column=4
    Width=50 Height=50 /

    TextBlock Text=4
    Grid.Column=4 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Purple
    Margin=5 Grid.Column=5
    Width=50 Height=50 /

    TextBlock Text=5
    Grid.Column=5 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Teal
    Margin=5 Grid.Column=6
    Width=50 Height=50 /

    TextBlock Text=6
    Grid.Column=6 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Beige
    Margin=5 Grid.Column=7
    Width=50 Height=50 /

    TextBlock Text=7
    Grid.Column=7 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Black
    Margin=5 Grid.Column=8
    Width=50 Height=50 /

    TextBlock Text=8
    Grid.Column=8 HorizontalAlignment=Center
    Foreground=White VerticalAlignment=Center/

    Rectangle Fill=Gray
    Margin=5 Grid.Column=9
    Width=50 Height=50 /

    TextBlock Text=9
    Grid.Column=9 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Red
    Margin=5 Grid.Column=10
    Width=50 Height=50 /

    TextBlock Text=10
    Grid.Column=10 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Yellow
    Margin=5 Grid.Column=11
    Width=50 Height=50 /

    TextBlock Text=11
    Grid.Column=11 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Green
    Margin=5 Grid.Column=12
    Width=50 Height=50 /

    TextBlock Text=12
    Grid.Column=12 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Blue
    Margin=5 Grid.Column=13
    Width=50 Height=50 /

    TextBlock Text=13
    Grid.Column=13 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Orange
    Margin=5 Grid.Column=14
    Width=50 Height=50 /

    TextBlock Text=14
    Grid.Column=14 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Purple
    Margin=5 Grid.Column=15
    Width=50 Height=50 /

    TextBlock Text=15
    Grid.Column=15 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Teal
    Margin=5 Grid.Column=16
    Width=50 Height=50 /

    TextBlock Text=16
    Grid.Column=16 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Beige
    Margin=5 Grid.Column=17
    Width=50 Height=50 /

    TextBlock Text=17
    Grid.Column=17 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Black
    Margin=5 Grid.Column=18
    Width=50 Height=50 /

    TextBlock Text=18
    Grid.Column=18 HorizontalAlignment=Center
    Foreground=White VerticalAlignment=Center/

    Rectangle Fill=Gray
    Margin=5 Grid.Column=19
    Width=50 Height=50 /

    TextBlock Text=19
    Grid.Column=19 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Red
    Margin=5 Grid.Column=20
    Width=50 Height=50 /

    TextBlock Text=20
    Grid.Column=20 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Yellow
    Margin=5 Grid.Column=21
    Width=50 Height=50 /

    TextBlock Text=21
    Grid.Column=21 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Green
    Margin=5 Grid.Column=22
    Width=50 Height=50 /

    TextBlock Text=22
    Grid.Column=22 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Blue
    Margin=5 Grid.Column=23
    Width=50 Height=50 /

    TextBlock Text=23
    Grid.Column=23 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Orange
    Margin=5 Grid.Column=24
    Width=50 Height=50 /

    TextBlock Text=24
    Grid.Column=24 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Purple
    Margin=5 Grid.Column=25
    Width=50 Height=50 /

    TextBlock Text=25
    Grid.Column=25 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Teal
    Margin=5 Grid.Column=26
    Width=50 Height=50 /

    TextBlock Text=26
    Grid.Column=26 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Beige
    Margin=5 Grid.Column=27
    Width=50 Height=50 /

    TextBlock Text=27
    Grid.Column=27 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Black
    Margin=5 Grid.Column=28
    Width=50 Height=50 /

    TextBlock Text=28
    Grid.Column=28 HorizontalAlignment=Center
    Foreground=White
    VerticalAlignment=Center/

    Rectangle Fill=Gray
    Margin=5 Grid.Column=29
    Width=50 Height=50 /

    TextBlock Text=29
    Grid.Column=29 HorizontalAlignment=Center
    VerticalAlignment=Center/

    Rectangle Fill=Red
    Margin=5 Grid.Column=30
    Width=50 Height=50 /

    TextBlock Text=30
    Grid.Column=30 HorizontalAlignment=Center
    VerticalAlignment=Center/
    /Grid

    /Grid

    DB:2.47:Off Window Objects Not Rendered When In Window az

    Thanks for that...
    I can set the parent to have the extra width and height... and then the parent of the parent can be smaller to restrict the actual size of the over all control.
    Thanks,
    Mark

  • RELEVANCY SCORE 2.47

    DB:2.47:Re: Mirror Text In Db 1a


    Attached is a block that I am working on. Mirroring the text vertically seems to work (Text does not mirror). But when I try to mirror the text horizontally the text mirrors. MIRRTEXT variable is set to 0. Any ideas?
    Thanks,









    Attachments:






    Rectangle Bubble.dwg ‏55 KB

    DB:2.47:Re: Mirror Text In Db 1a

    Since having R2007, when I download wblocks from the website, it hasn't prompted me to go straight into the Block Editor. Not sure why that is. The only way I see it possible for condition of the second posted block is to open a wblock, not enter BE, and paste the block into drawing space save and close out.

  • RELEVANCY SCORE 2.47

    DB:2.47:Detect When User Scrolls Text 1k



    Hi guys.

    I have a box wit scrollable text, and i need to know when the user starts to use the scroll bar. any idea in how to detect this?

    DB:2.47:Detect When User Scrolls Text 1k


    Hi Dean, please check your private messages.

  • RELEVANCY SCORE 2.47

    DB:2.47:Add Textblock In Rectangle ak


    I want to add TextBlock into the Rectangle or Ellipse Visual Element.
    I also want to move inner TextBlock when i move or drag the Rectangle or Ellipse.
    I also want to edit TextBlock text at runtime.
    How can i do this?

    DB:2.47:Add Textblock In Rectangle ak

    Rectangle and Ellipse are are not container controls. so you can not add a Textblock to them. For this you can use the Canvas Control(Only container control available in Silverlight). But you can use clipping or masking on canvas.
    And TextBlock is not an input control. You can find out further details for text input from given link:

    http://blogs.msdn.com/gduthie/archive/2007/09/12/silverlight-1-1-gets-input-controls-in-latest-refresh.aspx
    If this post is beneficial and you resolved your issue then mark this post as answer.

  • RELEVANCY SCORE 2.47

    DB:2.47:Unable To Edit Inside Rectangle Text Box d9


    Hi,

    I am using Microsoft Home and Business 2010 version 14.0.6112.5000 (32 bit). I have the following 2 problems.

    1) When I am editing text inside the rectangle drawing object, the text is not visible. My option are as follows - "No Fill", text is auto.

    The same is visible when ever is set the rectangle to a "Solid Fill". Pls let me know how to resolve the issue.

    2) Unable to select object after doing a "Select Objects" and selecting using mouse.

    Rgds,
    Arun.

    DB:2.47:Unable To Edit Inside Rectangle Text Box d9


    Hi,

    I am using Microsoft Home and Business 2010 version 14.0.6112.5000 (32 bit). I have the following 2 problems.

    1) When I am editing text inside the rectangle drawing object, the text is not visible. My option are as follows - "No Fill", text is auto.

    The same is visible when ever is set the rectangle to a "Solid Fill". Pls let me know how to resolve the issue.

    2) Unable to select object after doing a "Select Objects" and selecting using mouse.

    Rgds,
    Arun.

    Are you talking about a Text Box, or a Shape inserted via the Illustrations section of the Insert tab of the ribbon.
    If the latter, you will have to format it to appear behind the text if you want text that is typed in the same area to be visible. It would probably be better however to insert a Text Box which can be done from the Text section of the Insert tab of the
    ribbon.
    To select a mouse, you need to move the mouse to the position where the mouse cursor becomes and Arrow head with four opposed arrow heads.

  • RELEVANCY SCORE 2.47

    DB:2.47:Datafile Maximum Size Exceeds.... sp


    what will happen if the size of a datafile exceeds its maxsize that we have specified when datafile was created...???

    DB:2.47:Datafile Maximum Size Exceeds.... sp

    Of course, that was the question being asked.

    If the question was "what happens when I have autoextend on and my datafile fills up to the maxsize and I keep trying to write to that datafile?", then the correct answer would be "an error gets thrown". That's very different than the original question.

  • RELEVANCY SCORE 2.47

    DB:2.47:Automatically Change Richtextbox Font Size? 97


    Hi,

    How can I make a richtextbox automatically change the font size when the text exceeds the length of the textbox. So basically the text is always visible without moving left or right.

    Thanks!

  • RELEVANCY SCORE 2.47

    DB:2.47:Rectangle Is Not Being Shown In 10g Report But Text Is Shown... md


    I created a new report manually using 10g reports.....i just put one text and one rectangle....Both are being shown when i run with paper design option in report builder itself......But when i run this through url....Only text is being show not rectancle...........

    Why ........Please help me..

    DB:2.47:Rectangle Is Not Being Shown In 10g Report But Text Is Shown... md

    Thank you very much...
    DESFORMAT=HTMLCSS solved my problem.....

    :)

    Jazakalla Khair

  • RELEVANCY SCORE 2.47

    DB:2.47:100% Width Rectangle Not Working d7



    I followed the instructions from this article, and it is not working. Any ideas?

    Creating a 100% width rectangle element that spans the entire width of a browser window.

    I did everything it says to do here, but it does not scan across the browser when I preview, and the "red lines" to detect when rectangle sides are flush with the page do not appear.

    I'm in CS6.

    DB:2.47:100% Width Rectangle Not Working d7


    Thank you for posting.

    I've created a small video to show how to create a 100% width rectangle element. Please refer to the following Link : http://screencasteu.worldsecuresystems.com/aish/2013-03-21_1414.swf

    Hope this helps.

    Regards,

    Aishvarya Raj Rastogi

  • RELEVANCY SCORE 2.47

    DB:2.47:Sales Order Entity Error - Text Entered Exceeds Maximum Length jm


    We have customized the sales order entity. We are cloning the order to create sales order amendments. When we try and save theclone record, I get the The text entered exceeds the maximum length. If I create a new order with the
    same data it saves without an issue.
    Any ideas would be welcome.Ken Compter

    DB:2.47:Sales Order Entity Error - Text Entered Exceeds Maximum Length jm

    Actually we just created a 1:n relationship to itself (like parent-child cases?) and mapped existing field data to the new record. Nothing fancy.Ken Compter

  • RELEVANCY SCORE 2.47

    DB:2.47:Combining A Rectangle And Text In Order To Animate cp



    hi there. i have a rectangle that has a label on it. my user is requesting that when they click on the rectangle, they would like to see the rectangle grow / zoom so they can read the label clearly.

    i found some sample animations that use the animate width... tag which i can use to make the shape "grow". the only problem is that the text on the rectangle doesn't grow withit. is there any way to combine the rect text so that it's just one shape instead of two? I tried grouping them and adding the animation on the group but that didn't work for me.

    thanks.

    DB:2.47:Combining A Rectangle And Text In Order To Animate cp


    I think you're looking for the AE forum.

    http://forums.adobe.com/community/aftereffects_general_discussion

  • RELEVANCY SCORE 2.47

    DB:2.47:How To Draw Text Into Applet ? kc


    Hi,

    I have created all tools like rectangle, rounded rectangle, circle, now i wana create text tool. when user click on text tool. then click on canvas (which is used for the purpose of drawing). and then type the text whatever user want to type. and then press enter to disable the tool. and if user again click on text tool then he can follow these previous step. please help me:

    DB:2.47:How To Draw Text Into Applet ? kc

    Look at the Graphics and Graphics2D objects and drawString.

  • RELEVANCY SCORE 2.47

    DB:2.47:Right Alligned Textfield When Max Length Exceeds cp


    Hello,
    how can I keep text aligned to right when the text string length exceeds the JFormattedTextField length. The Horizontal Alignment is set to right but the text in this case gets left aligned at exiting.
    TIA
    Dirk

    DB:2.47:Right Alligned Textfield When Max Length Exceeds cp

    Hello,
    how can I keep text aligned to right when the text string length exceeds the JFormattedTextField length. The Horizontal Alignment is set to right but the text in this case gets left aligned at exiting.
    TIA
    Dirk

  • RELEVANCY SCORE 2.46

    DB:2.46:Any 1 Know How To Remove The Annoying Small Rectangle Around Button Text?? xp


    any 1 know how to remove the annoying small rectangle around button text??

    when we click on the button, it will comes out a rectangular box around the butto's texts, any 1 know how to remove this??

    DB:2.46:Any 1 Know How To Remove The Annoying Small Rectangle Around Button Text?? xp

    what if the button is the button in the JOptionPane dialog??
    is it possible??

  • RELEVANCY SCORE 2.46

    DB:2.46:The Text Entered Exceeds The Maximum Length 71


     
    When I am importing data into CRM 4.0 for some records i get the error The text entered exceeds the maximum length.
     
    Is it possible to increase the limit? And does the limit apply to just one column or the full line text?
     
    Thanks

    DB:2.46:The Text Entered Exceeds The Maximum Length 71

    you should be able to adjust the limits for just about every attribute, go into settings - customizations -customize entities - select entity- then go to the attribute tab from the left nav and select the attribute
     
    save and publish, then try again
     

  • RELEVANCY SCORE 2.46

    DB:2.46:How To Cut The Image What Exceeds The Size Of The Canvas 7d


    Hello,
    I have a image in a canvas and when I zoom the image I don't want to exceeds the size of the canvas.
    I use this code:

    RectangleGeometry recClip = new RectangleGeometry();
    recClip.Rect = new Rect(0, 0, 100, 100);
    ca.Clip = recClip;
    ca is the name of the canvas.
    In this way it's work but I want to be able to change the rectangle with a Path
    Instead of (0, 0, 100, 100) I want something like this (M365,26 L368,92 L450,98 L449,27);

    It is any way to do that ?

    Thanks,
    George

    DB:2.46:How To Cut The Image What Exceeds The Size Of The Canvas 7d

    As I mentioned before,use a PathGeometry as the clip property. Here is a link that shows how:
    http://blogs.vertigo.com/personal/chris/Blog/archive/2008/12/04/pathgeometry-figures-property-xaml-attribute-syntax-in-silverlight.aspx