Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Is there a way to set initial visibility (collapsed or expanded) for a pre block inside an article?

Is there a way to set initial visibility (collapsed or expanded) for a pre block inside an article?

Scheduled Pinned Locked Moved Article Writing
phpcomtoolsquestion
3 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Syed Mehroz Alam
    wrote on last edited by
    #1

    Currently, it looks that they are always expanded. Thanks,

    Syed Mehroz Alam My Blog | My Articles
    Computers are incredibly fast, accurate, and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination. - Albert Einstein

    C 1 Reply Last reply
    0
    • S Syed Mehroz Alam

      Currently, it looks that they are always expanded. Thanks,

      Syed Mehroz Alam My Blog | My Articles
      Computers are incredibly fast, accurate, and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination. - Albert Einstein

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      There is no way currently.

      cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

      K 1 Reply Last reply
      0
      • C Chris Maunder

        There is no way currently.

        cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

        K Offline
        K Offline
        knockNrod
        wrote on last edited by
        #3

        I have a chunk of code I'm discussing which makes use of the Microsoft Interop Forms Toolkit. The project for the toolkit adds some default properties, and I don't care if the reader can ever expand the code for those default properties, but I want to show the collapsed regions so the reader can orient themselves within the code where a new property is being added. Currently, I just show the ellipsis marks, but I'd like to at least show the box and if possible the small, boxed plus sign, if possible. (I tried using a

        ..., which works after a fashion, but deducing that I was not likely the first to ask, I thought I'd check here. Without darkness, there are no dreams. -Karla Kuban

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups