The drip rail probably attaches like the ones on the body. Screwed on between the weatherstrip retainer and the t-top frame.
There aren't many that still survive with the black on them in good shape. So, they have to be painted. I've read that SEM trim black is a good match for the right appearance. I'd wetsand the trim with some 500 wet, then prime with some black automotive epoxy(PPG's DP90LF), thinned about 25%, and then spray with the SEM trim black, or some black automotive urethane flattened to the right gloss. That would be durable. Automotive paint is more expensive of course, and requires a spray gun. If you can only do spray cans, you can probably find some epoxy or etch primer in a can, to use before spraying the SEM trim spray can paint. Maybe SEM has a good primer for use under their paint, so that's something to check on.