UITableView section header: How to find out font size and background color

Hi, does anyone know how to find out the default font and default background color(or image?) used in the section header of a tableView
I'd like to create a view with the same background color/image and use the same font (with different color) used by the section header

I don't think there are any getter methods for a section header. But I wouldn't be surprised if the header was an object. You might try setting some header text to a key string and searching recursively through all the subviews for objects that respond to a text message. It might help to also print the description of objects that don't respond to text. I haven't tried this yet, but will let you know if I get any useful results.
I guess another approach would be to use viewForHeaderInSection to set the font and color to whatever you wanted. Then you wouldn't have any problem matching it.

Similar Messages

  • How to find out the textframe contains "stroke color" (or) "fillcolor"?

    How to find out the textframe contains "stroke color" (or) "fillcolor" via javascript. Kindly advise me with sample.

    I know, this post is quite a while ago, but: This simply does not work for me. Neither for simple PathItems, nor for the characters of a TextFrame.
    Working on: Illustrator CS5.5, Mac OS, Javascript
    Simple example:
    var numSelectedObjects = app.activeDocument.selection.length;
    // If any objects selected: Get fill and stroke color of the first one
    if(numSelectedObjects > 0){
    alert("Fill Color: " + app.activeDocument.selection[0].fillColor + " / Stroke Color: " + app.activeDocument.selection[0].fillColor);
    This returns always CMYKColor, RGBColor or GrayColor, even if there is no Color assigned to the objects stroke or fill!!
    For PathItems there is the attribute ".filled" or ".stroked", which returns "true" or "false" and is reliable.
    if(app.activeDocument.selection[i].filled){ // works fine with PathItems!
    Is there anything similar for Characters? I tried this one, but it does not work (because I think it does not exist):
    if(app.activeDocument.selection[i].textRange.filled){ // does not work!
    I just need to find out, if the characters in a textfield have got a fill or stroke color. Reliable.
    It would be very nice to get help from anybody!
    Thanks a lot in advance!

  • HT1349 How can i find out the size and length of my playlist?

    How can i find out the size and length of my playlist? Anybody?

    It shows up in iTunes on your computer as seen here:

  • How to find out the plants and storage location for a given company code

    hi
    How to find out the plants and storage location for a given company code

    Hi
    Check for Assignem,ent of Plant & compnay code in OX18
    & for Combination of Plant & Storage location in OX09
    The total org structure can be viewed in EC01 - Click on Structure  -> navigation
    & Continue, Click on the Compnay code & the wole structure can be viewed
    Thanks & Regards
    Kishore

  • How to find out relevant Infosources and Infocubes for Datasources (LO)

    Hi Gems,
    I am new to BW.
    How to find out relevant Infosources and Infocubes for Datasources for LO Cockpit
    any help site pls.
    Thanks in advance

    1. make sure that your datasources have activated (trans RSA5 in SAP Source System) from the SAP Source system (Ex: R/3 or SCM System)
    2. after that you have to run trans RSA9 in SAP Source System to transfer new datasource in to BI System.
    3. log-on into BI System, run trans RSA1, choose SourceSystem Tab in the left panel. Right click on to your SAP Source System then choose <b>Replicate</b>.
    4. in the left panel choose BI Content tab, select infoObjects by infoArea.
    5. then Click on Grouping, select in <b>Dataflow Before and afterward</b>. Click Collection Mode, select Collect Automatically.
    6.in the middle panel, expand "Supply Chain Management" infoArea, select both <b>Characteristics: Logistics General</b> and <b>Key Figures: Logistics General</b>. Right click on it and select <b>Insert Objects for Collections</b>.
    7. After the objects have been inserted into Collected Objects then choose install with option Install in Background.
    8. Wait for the result.
    <b>Pls give point if you see its helpful.</b>
    Regards,
    Chuong Hoang

  • How to find out peak workload and peak workload hours ?

    We have recieved a query from client.
    they want us to tell them peak work load (volume of data database manage at peak work load hours).
    now the question is how to find out peak workload and peak workload hour in live prod database?
    i do not think AWR report will give any clue on this even if when extract it for the hours when my database is into some daily planned activity with lots of transactions.
    share your findings? thanks

    The OEM portal allows you to view performance data in a chart over time, based on data in the AWR tables. If you don't have OEM configured, then you can select directly from the tables and sum by snap. Or if you are collecting data at OS level, (SAR etc) then use that.
    If they are just interested in data changes, then you could just select FIRST_TIME, blocks *block_size from v$archived_log and break it down by hour etc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to find out existing Reports and sap scripts and smartforms ?

    Dear Friends ,
    How to find out existing Reports and sap scripts and smartforms ?
    ( e.g: how many existing reports and SAP scripts are available in MM or SD module , What is the procedure to find out ? )
    Thanking you.
    Regards,
    Subash.

    scripts r stored in TNAPR TABLES

  • How do i change font sizes and colors in ical in OS Lion.  Everything is greyed and too small.   And how do I changed the color of the scroll bars, which are now invisible?

    how do i change font sizes and colors in ical in OS Lion. Since upgrading,  all fonts are grey, instead of black,  and too small.   And how do I changed the color of the scroll bars, which also are grey and almost invisible?  And if you can asnwer this, can you tell me how to get back the email format I had before the upgrade?  I no longer have column headings and I'd like them.  Thank you. 

    Do you know about changing the font colors for ical, and the color of the scroll bars?
    No, I don't. I don't use that program; I fiddled with it just now, and could not find a way to do that.
    Perhaps someone else will have an idea.

  • How to find out the size of files transferred over the SQL * Net?

    I am trying to test the Advanced Compress (AC) for 11g Data Guard. When the AC is turned on, the archived log files are supposed to be compressed on the primary database server and sent over SQL*Net, then decompressed on the standby db server. We will see the file sizes are the same on both primary and standby servers. I want to verify that the AC works by monitoring how much data are sent over SQL*Net. Per Oracle, AC uses 35% less of the bandwith. That means the size of the files transferred should be at least 65% of the original size.
    Is there a way to find out the size through Oracle utilities? If not, how to find out by OS utilities? OS is Solaris 5.10.
    Thanks.

    I'm not sure this can be done via SQL*Net, but a network packet sniffer between the two servers should be able to help - you might want to contact your network team.
    HTH
    Srini

  • How to find out the tablename and column name

    Hi,
    I have inserted a value (say 'I am here') in a table. but i don't know which is getting inserted this value.
    Now i want to know which table and colums has this value (I am here). How to find out as without knowing the table name.
    Is there any option to get the tablename and colum??.
    Please help me.
    thanks.

    Does nobody document their code anymore?
    See my response Re: How to find out a tablename for one possible solution.
    HTH
    John

  • How to find out the primary and failover DNS name

    Hi;
    This sounds very stupid, but could some one please tell me how to find out the name/dns name of the primary and failover server without using the CDS console.
    any help is appreciated

    Is this what you want?
    $ /usr/lib/ldap/ldap_cachemgr -g
    cachemgr configuration:
    server debug level 0
    server log file "/var/ldap/cachemgr.log"
    number of calls to ldapcachemgr 12729
    cachemgr cache data statistics:
    Configuration refresh information:
    Previous refresh time: 2005/08/07 23:54:59
    Next refresh time: 2005/08/08 00:55:00
    Server information:
    Previous refresh time: 2005/08/14 15:15:00
    Next refresh time: 2005/08/15 03:15:00
    server: ldap1.example.com, status: UP
    server: ldap2.example.com, status: UP
    server: ldap3.example.com, status: UP
    Cache data information:
    Maximum cache entries: 256
    Number of cache entries: 0
    Gary

  • How to find out the object and tables that belong to it

    Do you know how to find out which tables belong to which object in trans. BD66, I have a CABN table but i donot the object name so how i can find out that??

    Hi,
    Wht object u r taking about .if it's a transport object,
    Go to Utilities -> Versions -> Version Mgt ->
    The latest one which is active, is the one u have to transport .
    Rgds ,
    J
    Do Award pts by cliking the left-hand side of this info.

  • Urgent: How to find out the size in bytes of java object

    Hi Experts,
    We've a requirement that we need to find out the size of a java object at run time, is there a direct java API to get the size of a composite object in memory?
    Here is my requirement: We are adding string objects (which is an xml string of considerable size) into a List. After reaching certain size limit (lets say 5MB) of the list i need to put this data into DB as a CLOB. So every time I add a string object to the list, I need to see if the total size of the list exceeds the limit and if yes, flush the results into DB.
    I am not sure if java has a direct API for this, if not what is the beast way to do it, it s critical requirement for us.
    It would be really great if someone could help us out.
    Thank you,
    -Shibu.

    >
    We've a requirement that we need to find out the size of a java object at run time, is there a direct java API to get the size of a composite object in memory?
    Here is my requirement: We are adding string objects (which is an xml string of considerable size) into a List. After reaching certain size limit (lets say 5MB) of the list i need to put this data into DB as a CLOB. So every time I add a string object to the list, I need to see if the total size of the list exceeds the limit and if yes, flush the results into DB.
    I am not sure if java has a direct API for this, if not what is the beast way to do it, it s critical requirement for us.
    It would be really great if someone could help us out.
    >
    Could you explain your actual requirement a little more fully.
    1. Is each individual string a separate XML string? Or is it just a fragment? Why would you just concatenate them together into a CLOB? That won't produce valid XML and it won't let you easily separate the pieces again later. So provide a simple example showing some strings and how you need to manipulate them.
    2. Are you using these xml strings in Java at all? Or are you just loading them into the database?
    For example if you are just loading them into the database you don't need to create a list. Just create a CLOB in Java and append each string to the CLOB. Before you append each one you can check to see if the new string will put you over your length limit. If it will then you write the CLOB to the database, empty the CLOB and start appending again to the new clob instance.
    If you explain what you are really trying to do we might be able to suggest some better ways to do it.

  • How to find out image size (in pixels) of jpg and gif files

    this seems to work, though i doubt that it would very time:
                   Image img = Toolkit.getDefaultToolkit().getImage("car.jpg");
                   int w = img.getWidth(null);
                   int h = img.getHeight(null);
                   while(w <= 0 || h <= 0)
                      try{Thread.sleep(10);}catch(InterruptedException ix){}
                      w = img.getWidth(null);
                      h = img.getHeight(null);
                   JOptionPane.showMessageDialog
                      null,
                      filenames[i] + ": " + w + "x" + h,
                      "ImgSize",
                      JOptionPane.INFORMATION_MESSAGE
                   );please suggest a better solution.
    thanks

    >
    We've a requirement that we need to find out the size of a java object at run time, is there a direct java API to get the size of a composite object in memory?
    Here is my requirement: We are adding string objects (which is an xml string of considerable size) into a List. After reaching certain size limit (lets say 5MB) of the list i need to put this data into DB as a CLOB. So every time I add a string object to the list, I need to see if the total size of the list exceeds the limit and if yes, flush the results into DB.
    I am not sure if java has a direct API for this, if not what is the beast way to do it, it s critical requirement for us.
    It would be really great if someone could help us out.
    >
    Could you explain your actual requirement a little more fully.
    1. Is each individual string a separate XML string? Or is it just a fragment? Why would you just concatenate them together into a CLOB? That won't produce valid XML and it won't let you easily separate the pieces again later. So provide a simple example showing some strings and how you need to manipulate them.
    2. Are you using these xml strings in Java at all? Or are you just loading them into the database?
    For example if you are just loading them into the database you don't need to create a list. Just create a CLOB in Java and append each string to the CLOB. Before you append each one you can check to see if the new string will put you over your length limit. If it will then you write the CLOB to the database, empty the CLOB and start appending again to the new clob instance.
    If you explain what you are really trying to do we might be able to suggest some better ways to do it.

  • How to find out the size of a database?

    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?

    An oracle database consists of data files, redo log files, control files, temporary files. Whenever you say the size of the database this actually means the summation of these files.
    select a.data_size+b.temp_size+c.redo_size+d.controlfile_size "total_size in MB"
    from
    ( select sum(bytes)/1024/1024 data_size from dba_data_files ) a,
    ( select nvl(sum(bytes),0)/1024/1024 temp_size from dba_temp_files ) b,
    ( select sum(bytes)/1024/1024 redo_size from sys.v_$log ) c,
    ( select sum(BLOCK_SIZE*FILE_SIZE_BLKS)/1024/1024 controlfile_size from v$controlfile) d;
    here
    a is megabytes allocated to ALL datafiles
    b is megabytes allocated to ALL TEMP files
    c is megabytes allocated to ALL redo-logs
    d is megabytes allocated to ALL control files
    Nimish Garg
    Software Developer
    *(Oracle & ASP.NET)*
    Indiamart Intermesh Limited, Noida
    To Get Free Oracle & ASP.NET Code Snippets
    Follow: http://nimishgarg.blogspot.com

Maybe you are looking for

  • LSMW specify files error

    A little help gurus When I save the .txt file into the LSMW, an error comes out that says "File Name 'Converted Data' : Max 45 Characters . Remaining data saved." What does this mean? What impact does it have in LSMW? Thanks in advance

  • Help with removing Payment information...

    For a while, my itunes account has been telling me there's a problem with my credit card (the credit card that's on their now doesn't exist anymore). So, I decided to just not put any payment information there at all. However, there's no option for "

  • Cannot Download 9i r2 for Windows XP

    Cannot download Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XP for all the time the download finish at the wrong filesize. For ex. 5MB, 7MB or 60MB. for disk1, disk2 or disk3

  • OFFICE 365 and SKYPE free world calls free

    I have office 365 and activated to skype free calls it shws i have a subscribtion and 60min free but when i try to call first my credis were gone and after that it shows that i have to buy more credits. When i try to buy once more credits it shows th

  • I like to use the songs I made on GarageBand as soundtrack for home video, what app should I use for that on my iPad ?

    So  I have  made some  cool songs using the GarageBand app and want to take it to the next level and add visual media like pics and home video to the songs..what app will work on my iPad that allows me to export songs from GarageBand app so I can mak